Lines Matching refs:cellIS
94 PetscErrorCode CellRangeGetFEGeom(IS cellIS, DMField coordField, PetscQuadrature quad, PetscFEGeomM… in CellRangeGetFEGeom() argument
103 PetscCall(PetscObjectQuery((PetscObject)cellIS, composeStr, (PetscObject *)&container)); in CellRangeGetFEGeom()
107 PetscCall(DMFieldCreateFEGeom(coordField, cellIS, quad, mode, geom)); in CellRangeGetFEGeom()
108 …PetscCall(PetscObjectContainerCompose((PetscObject)cellIS, composeStr, *geom, PetscFEGeomDestroy_V… in CellRangeGetFEGeom()
113 PetscErrorCode CellRangeRestoreFEGeom(IS cellIS, DMField coordField, PetscQuadrature quad, PetscBoo… in CellRangeRestoreFEGeom() argument
120 static PetscErrorCode CreateFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, P… in CreateFEGeometry() argument
132 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in CreateFEGeometry()
134 PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, affineQuad)); in CreateFEGeometry()
135 …if (*affineQuad) PetscCall(CellRangeGetFEGeom(cellIS, coordField, *affineQuad, PETSC_FEGEOM_BASIC,… in CreateFEGeometry()
144 … PetscCall(CellRangeGetFEGeom(cellIS, coordField, (*quads)[f], PETSC_FEGEOM_BASIC, &(*geoms)[f])); in CreateFEGeometry()
150 static PetscErrorCode DestroyFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, … in DestroyFEGeometry() argument
159 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, *affineQuad, PETSC_FALSE, affineGeom)); in DestroyFEGeometry()
163 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, (*quads)[f], PETSC_FALSE, &(*geoms)[f])); in DestroyFEGeometry()
240 IS cellIS; in TestIntegration() local
245 PetscCall(DMGetStratumIS(dm, "depth", depth, &cellIS)); in TestIntegration()
250 PetscCall(CreateFEGeometry(dm, ds, cellIS, &affineQuad, &affineGeom, &quads, &geoms)); in TestIntegration()
280 PetscCall(DestroyFEGeometry(dm, ds, cellIS, &affineQuad, &affineGeom, &quads, &geoms)); in TestIntegration()
281 PetscCall(ISDestroy(&cellIS)); in TestIntegration()