Lines Matching refs:affineQuad
129 static PetscErrorCode CreateFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, P… in CreateFEGeometry() argument
135 *affineQuad = NULL; in CreateFEGeometry()
143 PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, affineQuad)); in CreateFEGeometry()
144 …if (*affineQuad) PetscCall(CellRangeGetFEGeom(cellIS, coordField, *affineQuad, PETSC_FEGEOM_BASIC,… in CreateFEGeometry()
159 static PetscErrorCode DestroyFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, … in DestroyFEGeometry() argument
167 if (*affineQuad) { in DestroyFEGeometry()
168 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, *affineQuad, PETSC_FALSE, affineGeom)); in DestroyFEGeometry()
169 PetscCall(PetscQuadratureDestroy(affineQuad)); in DestroyFEGeometry()
184 PetscQuadrature affineQuad, *quads = NULL; in TestIntegration() local
202 PetscCall(CreateFEGeometry(dm, ds, cellIS, &affineQuad, &affineGeom, &quads, &geoms)); in TestIntegration()
234 PetscCall(DestroyFEGeometry(dm, ds, cellIS, &affineQuad, &affineGeom, &quads, &geoms)); in TestIntegration()