Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/tutorials/
H A Dex4.c654 DMStagStencil rhoPoint[2]; in CreateSystem2d() local
665 rhoPoint[0].i = ex; in CreateSystem2d()
666 rhoPoint[0].j = ey; in CreateSystem2d()
667 rhoPoint[0].loc = DMSTAG_DOWN_LEFT; in CreateSystem2d()
668 rhoPoint[0].c = 1; in CreateSystem2d()
669 rhoPoint[1].i = ex; in CreateSystem2d()
670 rhoPoint[1].j = ey; in CreateSystem2d()
671 rhoPoint[1].loc = DMSTAG_DOWN_RIGHT; in CreateSystem2d()
672 rhoPoint[1].c = 1; in CreateSystem2d()
673 PetscCall(DMStagVecGetValuesStencil(dm_coefficients, coefficients_local, 2, rhoPoint, rho)); in CreateSystem2d()