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