Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tests/
H A Dex3.c598 DM dmRedist, dmfv, dmgrad, dmCell, refTree; in TestFVGrad() local
644 PetscCall(DMPlexGetGradientDM(dmfv, fv, &dmgrad)); in TestFVGrad()
650 PetscCall(DMGetGlobalVector(dmgrad, &grad)); in TestFVGrad()
651 PetscCall(DMGetLocalVector(dmgrad, &locGrad)); in TestFVGrad()
652 PetscCall(DMPlexGetCellTypeStratum(dmgrad, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in TestFVGrad()
680 PetscCall(DMGlobalToLocalBegin(dmgrad, grad, INSERT_VALUES, locGrad)); in TestFVGrad()
681 PetscCall(DMGlobalToLocalEnd(dmgrad, grad, INSERT_VALUES, locGrad)); in TestFVGrad()
696 PetscCall(DMPlexPointLocalRead(dmgrad, c, gradArray, &compGrad)); in TestFVGrad()
717 PetscCall(DMRestoreLocalVector(dmgrad, &locGrad)); in TestFVGrad()
718 PetscCall(DMRestoreGlobalVector(dmgrad, &grad)); in TestFVGrad()