Home
last modified time | relevance | path

Searched refs:flux_east (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
231 if (nC == 2) flux_east = (x[cellsupport[1]] * (u_minus - user->diffusion * delta_y)) / delta_x; in FormFunction()
232 else flux_east = (boundary * (u_minus - user->diffusion * delta_y)) / delta_x; in FormFunction()
251 f[cell] = -(flux_centre + flux_east + flux_west + flux_north + flux_south); in FormFunction()