Lines Matching refs:diffusion
35 PetscScalar diffusion; member
46 options->diffusion = 0.0; in ProcessOptions()
50 … "The diffusive coefficient", "advection_DMPLEX.c", options->diffusion, &options->diffusion, NULL)… in ProcessOptions()
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()
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()
237 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()
243 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()
247 …[cell] * ((u_plus - u_minus + 2 * user->diffusion * delta_y) / delta_x + (v_plus - v_minus + 2 * u… in FormFunction()