Home
last modified time | relevance | path

Searched refs:flux_south (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex52.c156 PetscScalar flux_east, flux_west, flux_north, flux_south, flux_centre; in FormFunction() local
225 if (nC == 2) flux_south = (x[cellsupport[0]] * (-v_plus - user->diffusion * delta_x)) / delta_y; in FormFunction()
226 else flux_south = (boundary * (-v_plus - user->diffusion * delta_x)) / delta_y; in FormFunction()
251 f[cell] = -(flux_centre + flux_east + flux_west + flux_north + flux_south); in FormFunction()