Home
last modified time | relevance | path

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

/petsc/src/dm/dt/fe/tests/
H A Dex1.c129 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()
[all …]
H A Dex2.c120 static PetscErrorCode CreateFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, P… in CreateFEGeometry() argument
126 *affineQuad = NULL; in CreateFEGeometry()
134 PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, affineQuad)); in CreateFEGeometry()
135 …if (*affineQuad) PetscCall(CellRangeGetFEGeom(cellIS, coordField, *affineQuad, PETSC_FEGEOM_BASIC,… in CreateFEGeometry()
150 static PetscErrorCode DestroyFEGeometry(DM dm, PetscDS ds, IS cellIS, PetscQuadrature *affineQuad, … in DestroyFEGeometry() argument
158 if (*affineQuad) { in DestroyFEGeometry()
159 PetscCall(CellRangeRestoreFEGeom(cellIS, coordField, *affineQuad, PETSC_FALSE, affineGeom)); in DestroyFEGeometry()
160 PetscCall(PetscQuadratureDestroy(affineQuad)); in DestroyFEGeometry()
237 PetscQuadrature affineQuad, *quads = NULL; in TestIntegration() local
250 PetscCall(CreateFEGeometry(dm, ds, cellIS, &affineQuad, &affineGeom, &quads, &geoms)); in TestIntegration()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexfem.c2417 PetscQuadrature affineQuad = NULL; in DMPlexComputeIntegral_Internal() local
2463 PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, &affineQuad)); in DMPlexComputeIntegral_Internal()
2464 …if (affineQuad) PetscCall(DMFieldCreateFEGeom(coordField, cellIS, affineQuad, PETSC_FEGEOM_BASIC, … in DMPlexComputeIntegral_Internal()
2541 …if (!affineQuad) PetscCall(DMFieldCreateFEGeom(coordField, cellIS, q, PETSC_FEGEOM_BASIC, &cgeomFE… in DMPlexComputeIntegral_Internal()
2547 if (!affineQuad) PetscCall(PetscFEGeomDestroy(&cgeomFEM)); in DMPlexComputeIntegral_Internal()
2579 if (affineQuad) PetscCall(PetscFEGeomDestroy(&cgeomFEM)); in DMPlexComputeIntegral_Internal()
2580 PetscCall(PetscQuadratureDestroy(&affineQuad)); in DMPlexComputeIntegral_Internal()
4408 PetscQuadrature affineQuad = NULL, *quads = NULL; in DMPlexComputeResidual_Patch_Internal() local
4442 PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, &affineQuad)); in DMPlexComputeResidual_Patch_Internal()
4443 …if (affineQuad) PetscCall(DMSNESGetFEGeom(coordField, cellIS, affineQuad, PETSC_FEGEOM_BASIC, &aff… in DMPlexComputeResidual_Patch_Internal()
[all …]