Lines Matching refs:cellIS
103 PetscErrorCode CellRangeGetFEGeom(IS cellIS, DMField coordField, PetscQuadrature quad, PetscFEGeomM… in CellRangeGetFEGeom() argument
112 PetscCall(PetscObjectQuery((PetscObject)cellIS, composeStr, (PetscObject *)&container)); in CellRangeGetFEGeom()
116 PetscCall(DMFieldCreateFEGeom(coordField, cellIS, quad, mode, geom)); in CellRangeGetFEGeom()
117 …PetscCall(PetscObjectContainerCompose((PetscObject)cellIS, composeStr, *geom, PetscFEGeomDestroy_V… in CellRangeGetFEGeom()
122 PetscErrorCode CellRangeRestoreFEGeom(IS cellIS, DMField coordField, PetscQuadrature quad, PetscBoo… in CellRangeRestoreFEGeom() argument
129 static PetscErrorCode CreateFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, P… in CreateFEGeometry() argument
141 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in CreateFEGeometry()
143 PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, affineQuad)); in CreateFEGeometry()
144 …if (*affineQuad) PetscCall(CellRangeGetFEGeom(cellIS, coordField, *affineQuad, PETSC_FEGEOM_BASIC,… in CreateFEGeometry()
153 … PetscCall(CellRangeGetFEGeom(cellIS, coordField, (*quads)[f], PETSC_FEGEOM_BASIC, &(*geoms)[f])); in CreateFEGeometry()
159 static PetscErrorCode DestroyFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, … in DestroyFEGeometry() argument
168 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, *affineQuad, PETSC_FALSE, affineGeom)); in DestroyFEGeometry()
172 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, (*quads)[f], PETSC_FALSE, &(*geoms)[f])); in DestroyFEGeometry()
187 IS cellIS; in TestIntegration() local
197 PetscCall(DMGetStratumIS(dm, "depth", depth, &cellIS)); in TestIntegration()
202 PetscCall(CreateFEGeometry(dm, ds, cellIS, &affineQuad, &affineGeom, &quads, &geoms)); in TestIntegration()
234 PetscCall(DestroyFEGeometry(dm, ds, cellIS, &affineQuad, &affineGeom, &quads, &geoms)); in TestIntegration()
235 PetscCall(ISDestroy(&cellIS)); in TestIntegration()