Lines Matching refs:coordField

59 static PetscErrorCode DMPlexGetFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscFE…  in DMPlexGetFEGeom()  argument
72 PetscCall(DMFieldCreateFEGeom(coordField, pointIS, quad, mode, geom)); in DMPlexGetFEGeom()
82 static PetscErrorCode DMPlexRestoreFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, Pet… in DMPlexRestoreFEGeom() argument
2422 DMField coordField; in DMPlexComputeIntegral_Internal() local
2460 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeIntegral_Internal()
2461 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeIntegral_Internal()
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()
2720 DMField coordField; in DMPlexComputeBdIntegral_Internal() local
2728 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeBdIntegral_Internal()
2773 PetscCall(DMFieldGetDegree(coordField, pointIS, NULL, &maxDegree)); in DMPlexComputeBdIntegral_Internal()
2794 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, pointIS, &qGeom)); in DMPlexComputeBdIntegral_Internal()
2800 PetscCall(DMPlexGetFEGeom(coordField, pointIS, qGeom, PETSC_FEGEOM_BOUNDARY, &fgeom)); in DMPlexComputeBdIntegral_Internal()
2829 PetscCall(DMPlexRestoreFEGeom(coordField, pointIS, qGeom, PETSC_FEGEOM_BOUNDARY, &fgeom)); in DMPlexComputeBdIntegral_Internal()
4359 PetscErrorCode DMSNESGetFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscFEGeomMod… in DMSNESGetFEGeom() argument
4372 PetscCall(DMFieldCreateFEGeom(coordField, pointIS, quad, mode, geom)); in DMSNESGetFEGeom()
4382 PetscErrorCode DMSNESRestoreFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscBool … in DMSNESRestoreFEGeom() argument
4399 DMField coordField = NULL; in DMPlexComputeResidual_Patch_Internal() local
4439 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeResidual_Patch_Internal()
4440 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeResidual_Patch_Internal()
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()
4460 PetscCall(DMSNESGetFEGeom(coordField, cellIS, quads[f], PETSC_FEGEOM_BASIC, &geoms[f])); in DMPlexComputeResidual_Patch_Internal()
4598 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, affineQuad, PETSC_FALSE, &affineGeom)); in DMPlexComputeResidual_Patch_Internal()
4602 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, quads[f], PETSC_FALSE, &geoms[f])); in DMPlexComputeResidual_Patch_Internal()
4626 DMField coordField; in DMPlexComputeJacobian_Patch_Internal() local
4703 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeJacobian_Patch_Internal()
4704 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeJacobian_Patch_Internal()
4705 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, &qGeom)); in DMPlexComputeJacobian_Patch_Internal()
4713 PetscCall(DMSNESGetFEGeom(coordField, cellIS, qGeom, PETSC_FEGEOM_BASIC, &cgeomFEM)); in DMPlexComputeJacobian_Patch_Internal()
4788 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, qGeom, PETSC_FALSE, &cgeomFEM)); in DMPlexComputeJacobian_Patch_Internal()
4918 … wf, PetscFormKey key, IS facetIS, Vec locX, Vec locX_t, PetscReal t, DMField coordField, Vec locF) in DMPlexComputeBdResidualSingleByKey() argument
4967 PetscCall(DMFieldGetDegree(coordField, pointIS, NULL, &maxDegree)); in DMPlexComputeBdResidualSingleByKey()
4968 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, pointIS, &qGeom)); in DMPlexComputeBdResidualSingleByKey()
4977 PetscCall(DMSNESGetFEGeom(coordField, pointIS, qGeom, PETSC_FEGEOM_BOUNDARY, &fgeom)); in DMPlexComputeBdResidualSingleByKey()
5036 PetscCall(DMSNESRestoreFEGeom(coordField, pointIS, qGeom, PETSC_TRUE, &fgeom)); in DMPlexComputeBdResidualSingleByKey()
5087 DMField coordField; in DMPlexComputeBdResidualSingle() local
5096 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeBdResidualSingle()
5097 …PetscCall(DMPlexComputeBdResidualSingleByKey(dm, wf, key, facetIS, locX, locX_t, t, coordField, lo… in DMPlexComputeBdResidualSingle()
5106 DMField coordField = NULL; in DMPlexComputeBdResidual_Internal() local
5140 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeBdResidual_Internal()
5146 …cCall(DMPlexComputeBdResidualSingleByKey(dm, wf, key, facetIS, locX, locX_t, t, coordField, locF)); in DMPlexComputeBdResidual_Internal()
5189 DMField coordField = NULL; in DMPlexComputeResidualByKey() local
5240 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeResidualByKey()
5241 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeResidualByKey()
5243 PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, &affineQuad)); in DMPlexComputeResidualByKey()
5244 …if (affineQuad) PetscCall(DMSNESGetFEGeom(coordField, cellIS, affineQuad, PETSC_FEGEOM_BASIC, &aff… in DMPlexComputeResidualByKey()
5261 PetscCall(DMSNESGetFEGeom(coordField, cellIS, quads[f], PETSC_FEGEOM_BASIC, &geoms[f])); in DMPlexComputeResidualByKey()
5467 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, affineQuad, PETSC_FALSE, &affineGeom)); in DMPlexComputeResidualByKey()
5471 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, quads[f], PETSC_FALSE, &geoms[f])); in DMPlexComputeResidualByKey()
5569 DMField coordField = NULL; in DMPlexComputeResidualHybridByKey() local
5674 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeResidualHybridByKey()
5675 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeResidualHybridByKey()
5738 … if (!affineQuadF) PetscCall(DMFieldCreateDefaultQuadrature(coordField, chunkISF, &affineQuadF)); in DMPlexComputeResidualHybridByKey()
5739 …if (affineQuadF) PetscCall(DMSNESGetFEGeom(coordField, chunkISF, affineQuadF, PETSC_FEGEOM_COHESIV… in DMPlexComputeResidualHybridByKey()
5743 PetscCall(DMFieldCreateDefaultFaceQuadrature(coordField, chunkISN, &affineQuadN)); in DMPlexComputeResidualHybridByKey()
5746 …if (affineQuadN) PetscCall(DMSNESGetFEGeom(coordField, chunkISN, affineQuadN, PETSC_FEGEOM_BASIC, … in DMPlexComputeResidualHybridByKey()
5749 …if (quadsF[f]) PetscCall(DMSNESGetFEGeom(coordField, chunkISF, quadsF[f], PETSC_FEGEOM_COHESIVE, &… in DMPlexComputeResidualHybridByKey()
5750 …if (quadsN[f]) PetscCall(DMSNESGetFEGeom(coordField, chunkISN, quadsN[f], PETSC_FEGEOM_BASIC, &geo… in DMPlexComputeResidualHybridByKey()
5846 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, affineQuadF, PETSC_FALSE, &affineGeomF)); in DMPlexComputeResidualHybridByKey()
5848 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, affineQuadN, PETSC_FALSE, &affineGeomN)); in DMPlexComputeResidualHybridByKey()
5852 …if (geomsF) PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, quadsF[f], PETSC_FALSE, &geomsF[f])); in DMPlexComputeResidualHybridByKey()
5854 …if (geomsN) PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, quadsN[f], PETSC_FALSE, &geomsN[f])); in DMPlexComputeResidualHybridByKey()
5906 …etscInt fieldI, IS facetIS, Vec locX, Vec locX_t, PetscReal t, DMField coordField, PetscReal X_tSh… in DMPlexComputeBdJacobianSingleByLabel() argument
5970 PetscCall(DMFieldGetDegree(coordField, pointIS, NULL, &maxDegree)); in DMPlexComputeBdJacobianSingleByLabel()
5971 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, pointIS, &qGeom)); in DMPlexComputeBdJacobianSingleByLabel()
5980 PetscCall(DMSNESGetFEGeom(coordField, pointIS, qGeom, PETSC_FEGEOM_BOUNDARY, &fgeom)); in DMPlexComputeBdJacobianSingleByLabel()
6061 PetscCall(DMSNESRestoreFEGeom(coordField, pointIS, qGeom, PETSC_TRUE, &fgeom)); in DMPlexComputeBdJacobianSingleByLabel()
6099 DMField coordField; in DMPlexComputeBdJacobianSingle() local
6108 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeBdJacobianSingle()
6109 …el(dm, wf, label, numValues, values, fieldI, facetIS, locX, locX_t, t, coordField, X_tShift, Jac, … in DMPlexComputeBdJacobianSingle()
6119 DMField coordField = NULL; in DMPlexComputeBdJacobian_Internal() local
6128 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeBdJacobian_Internal()
6143 …el(dm, wf, label, numValues, values, fieldI, facetIS, locX, locX_t, t, coordField, X_tShift, Jac, … in DMPlexComputeBdJacobian_Internal()
6179 DMField coordField; in DMPlexComputeJacobianByKey() local
6201 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeJacobianByKey()
6266 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeJacobianByKey()
6267 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, &qGeom)); in DMPlexComputeJacobianByKey()
6273 PetscCall(DMSNESGetFEGeom(coordField, cellIS, qGeom, PETSC_FEGEOM_BASIC, &cgeomFEM)); in DMPlexComputeJacobianByKey()
6300 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, qGeom, PETSC_FALSE, &cgeomFEM)); in DMPlexComputeJacobianByKey()
6394 DMField coordField; in DMPlexComputeJacobianByKeyGeneral() local
6420 PetscCall(DMGetCoordinateField(dmr, &coordField)); in DMPlexComputeJacobianByKeyGeneral()
6489 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeJacobianByKeyGeneral()
6490 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, &qGeom)); in DMPlexComputeJacobianByKeyGeneral()
6496 PetscCall(DMSNESGetFEGeom(coordField, cellIS, qGeom, PETSC_FEGEOM_BASIC, &cgeomFEM)); in DMPlexComputeJacobianByKeyGeneral()
6523 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, qGeom, PETSC_FALSE, &cgeomFEM)); in DMPlexComputeJacobianByKeyGeneral()
6648 DMField coordField = NULL; in DMPlexComputeJacobianHybridByKey() local
6758 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeJacobianHybridByKey()
6759 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeJacobianHybridByKey()
6818 … if (!affineQuadF) PetscCall(DMFieldCreateDefaultQuadrature(coordField, chunkISF, &affineQuadF)); in DMPlexComputeJacobianHybridByKey()
6819 …if (affineQuadF) PetscCall(DMSNESGetFEGeom(coordField, chunkISF, affineQuadF, PETSC_FEGEOM_COHESIV… in DMPlexComputeJacobianHybridByKey()
6823 PetscCall(DMFieldCreateDefaultFaceQuadrature(coordField, chunkISN, &affineQuadN)); in DMPlexComputeJacobianHybridByKey()
6826 …if (affineQuadN) PetscCall(DMSNESGetFEGeom(coordField, chunkISN, affineQuadN, PETSC_FEGEOM_BASIC, … in DMPlexComputeJacobianHybridByKey()
6830 …if (quadsF[f]) PetscCall(DMSNESGetFEGeom(coordField, chunkISF, quadsF[f], PETSC_FEGEOM_COHESIVE, &… in DMPlexComputeJacobianHybridByKey()
6960 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, affineQuadF, PETSC_FALSE, &affineGeomF)); in DMPlexComputeJacobianHybridByKey()
6962 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, affineQuadN, PETSC_FALSE, &affineGeomN)); in DMPlexComputeJacobianHybridByKey()
6967 …if (geomsF) PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, quadsF[f], PETSC_FALSE, &geomsF[f])); in DMPlexComputeJacobianHybridByKey()
7009 DMField coordField; in DMPlexComputeJacobianActionByKey() local
7043 PetscCall(DMGetCoordinateField(dm, &coordField)); in DMPlexComputeJacobianActionByKey()
7086 PetscCall(DMFieldGetDegree(coordField, cellIS, NULL, &maxDegree)); in DMPlexComputeJacobianActionByKey()
7087 if (maxDegree <= 1) PetscCall(DMFieldCreateDefaultQuadrature(coordField, cellIS, &qGeom)); in DMPlexComputeJacobianActionByKey()
7093 PetscCall(DMSNESGetFEGeom(coordField, cellIS, qGeom, PETSC_FEGEOM_BASIC, &cgeomFEM)); in DMPlexComputeJacobianActionByKey()
7114 PetscCall(DMSNESRestoreFEGeom(coordField, cellIS, qGeom, PETSC_FALSE, &cgeomFEM)); in DMPlexComputeJacobianActionByKey()