Lines Matching refs:dmRedist
598 DM dmRedist, dmfv, dmgrad, dmCell, refTree; in TestFVGrad() local
612 dmRedist = NULL; in TestFVGrad()
613 if (size > 1) PetscCall(DMPlexDistributeOverlap(dm, 1, NULL, &dmRedist)); in TestFVGrad()
614 if (!dmRedist) { in TestFVGrad()
615 dmRedist = dm; in TestFVGrad()
616 PetscCall(PetscObjectReference((PetscObject)dmRedist)); in TestFVGrad()
628 PetscCall(DMCreateLabel(dmRedist, "Face Sets")); in TestFVGrad()
629 PetscCall(DMGetLabel(dmRedist, "Face Sets", &label)); in TestFVGrad()
630 PetscCall(DMGetPointSF(dmRedist, &pointSF)); in TestFVGrad()
632 PetscCall(DMSetPointSF(dmRedist, NULL)); in TestFVGrad()
633 PetscCall(DMPlexMarkBoundaryFaces(dmRedist, 1, label)); in TestFVGrad()
634 PetscCall(DMSetPointSF(dmRedist, pointSF)); in TestFVGrad()
637 PetscCall(DMPlexConstructGhostCells(dmRedist, NULL, NULL, &dmfv)); in TestFVGrad()
638 PetscCall(DMDestroy(&dmRedist)); in TestFVGrad()