Searched refs:flux_west (Results 1 – 1 of 1) sorted by relevance
156 PetscScalar flux_east, flux_west, flux_north, flux_south, flux_centre; in FormFunction() local243 if (nC == 2) flux_west = (x[cellsupport[0]] * (-u_plus - user->diffusion * delta_y)) / delta_x; in FormFunction()244 else flux_west = (boundary_left * (-u_plus - user->diffusion * delta_y)) / delta_x; in FormFunction()251 f[cell] = -(flux_centre + flux_east + flux_west + flux_north + flux_south); in FormFunction()