Searched refs:cellsupport (Results 1 – 1 of 1) sorted by relevance
155 const PetscInt *cellcone, *cellsupport; in FormFunction() local224 PetscCall(DMPlexGetSupport(da, cellcone[0], &cellsupport)); in FormFunction()225 if (nC == 2) flux_south = (x[cellsupport[0]] * (-v_plus - user->diffusion * delta_x)) / delta_y; in FormFunction()230 PetscCall(DMPlexGetSupport(da, cellcone[1], &cellsupport)); in FormFunction()231 if (nC == 2) flux_east = (x[cellsupport[1]] * (u_minus - user->diffusion * delta_y)) / delta_x; in FormFunction()236 PetscCall(DMPlexGetSupport(da, cellcone[2], &cellsupport)); in FormFunction()237 if (nC == 2) flux_north = (x[cellsupport[1]] * (v_minus - user->diffusion * delta_x)) / delta_y; in FormFunction()242 PetscCall(DMPlexGetSupport(da, cellcone[3], &cellsupport)); in FormFunction()243 if (nC == 2) flux_west = (x[cellsupport[0]] * (-u_plus - user->diffusion * delta_y)) / delta_x; in FormFunction()