Lines Matching refs:pointIS
59 static PetscErrorCode DMPlexGetFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscFE… in DMPlexGetFEGeom() argument
68 PetscCall(PetscObjectQuery((PetscObject)pointIS, composeStr, (PetscObject *)&container)); in DMPlexGetFEGeom()
72 PetscCall(DMFieldCreateFEGeom(coordField, pointIS, quad, mode, geom)); in DMPlexGetFEGeom()
76 PetscCall(PetscObjectCompose((PetscObject)pointIS, composeStr, (PetscObject)container)); in DMPlexGetFEGeom()
82 static PetscErrorCode DMPlexRestoreFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, Pet… in DMPlexRestoreFEGeom() argument
1729 IS fieldIS, pointIS; in DMComputeL2FieldDiff_Plex() local
1751 PetscCall(DMLabelGetStratumIS(label, 1, &pointIS)); in DMComputeL2FieldDiff_Plex()
1752 PetscCall(ISGetLocalSize(pointIS, &cEnd)); in DMComputeL2FieldDiff_Plex()
1753 PetscCall(ISGetIndices(pointIS, &points)); in DMComputeL2FieldDiff_Plex()
1841 PetscCall(ISRestoreIndices(pointIS, &points)); in DMComputeL2FieldDiff_Plex()
1842 PetscCall(ISDestroy(&pointIS)); in DMComputeL2FieldDiff_Plex()
2713 static PetscErrorCode DMPlexComputeBdIntegral_Internal(DM dm, Vec locX, IS pointIS, void (**funcs)(… in DMPlexComputeBdIntegral_Internal() argument
2770 PetscCall(ISGetLocalSize(pointIS, &numFaces)); in DMPlexComputeBdIntegral_Internal()
2771 PetscCall(ISGetIndices(pointIS, &points)); 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()
2833 PetscCall(ISRestoreIndices(pointIS, &points)); in DMPlexComputeBdIntegral_Internal()
2887 IS pointIS; in DMPlexComputeBdIntegral() local
2891 PetscCall(DMLabelGetStratumIS(label, vals[v], &pointIS)); in DMPlexComputeBdIntegral()
2892 if (!pointIS) continue; /* No points with that id on this process */ in DMPlexComputeBdIntegral()
2897 PetscCall(ISIntersect_Caching_Internal(facetIS, pointIS, &isectIS)); in DMPlexComputeBdIntegral()
2898 PetscCall(ISDestroy(&pointIS)); in DMPlexComputeBdIntegral()
2899 pointIS = isectIS; in DMPlexComputeBdIntegral()
2901 PetscCall(ISGetLocalSize(pointIS, &numFaces)); in DMPlexComputeBdIntegral()
2903 PetscCall(DMPlexComputeBdIntegral_Internal(dm, locX, pointIS, funcs, fintegral, ctx)); in DMPlexComputeBdIntegral()
2908 PetscCall(ISDestroy(&pointIS)); in DMPlexComputeBdIntegral()
4359 PetscErrorCode DMSNESGetFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscFEGeomMod… in DMSNESGetFEGeom() argument
4368 PetscCall(PetscObjectQuery((PetscObject)pointIS, composeStr, (PetscObject *)&container)); in DMSNESGetFEGeom()
4372 PetscCall(DMFieldCreateFEGeom(coordField, pointIS, quad, mode, geom)); in DMSNESGetFEGeom()
4376 PetscCall(PetscObjectCompose((PetscObject)pointIS, composeStr, (PetscObject)container)); in DMSNESGetFEGeom()
4382 PetscErrorCode DMSNESRestoreFEGeom(DMField coordField, IS pointIS, PetscQuadrature quad, PetscBool … in DMSNESRestoreFEGeom() argument
4950 IS pointIS; in DMPlexComputeBdResidualSingleByKey() local
4954 PetscCall(DMLabelGetStratumIS(key.label, key.value, &pointIS)); in DMPlexComputeBdResidualSingleByKey()
4955 if (!pointIS) goto end; /* No points with that id on this process */ in DMPlexComputeBdResidualSingleByKey()
4960 PetscCall(ISIntersect_Caching_Internal(facetIS, pointIS, &isectIS)); in DMPlexComputeBdResidualSingleByKey()
4961 PetscCall(ISDestroy(&pointIS)); in DMPlexComputeBdResidualSingleByKey()
4962 pointIS = isectIS; in DMPlexComputeBdResidualSingleByKey()
4964 PetscCall(ISGetLocalSize(pointIS, &numFaces)); in DMPlexComputeBdResidualSingleByKey()
4965 PetscCall(ISGetIndices(pointIS, &points)); in DMPlexComputeBdResidualSingleByKey()
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()
5038 PetscCall(ISRestoreIndices(pointIS, &points)); in DMPlexComputeBdResidualSingleByKey()
5039 PetscCall(ISDestroy(&pointIS)); in DMPlexComputeBdResidualSingleByKey()
5949 IS pointIS; in DMPlexComputeBdJacobianSingleByLabel() local
5957 PetscCall(DMLabelGetStratumIS(label, values[v], &pointIS)); in DMPlexComputeBdJacobianSingleByLabel()
5958 if (!pointIS) continue; /* No points with that id on this process */ in DMPlexComputeBdJacobianSingleByLabel()
5963 PetscCall(ISIntersect_Caching_Internal(facetIS, pointIS, &isectIS)); in DMPlexComputeBdJacobianSingleByLabel()
5964 PetscCall(ISDestroy(&pointIS)); in DMPlexComputeBdJacobianSingleByLabel()
5965 pointIS = isectIS; in DMPlexComputeBdJacobianSingleByLabel()
5967 PetscCall(ISGetLocalSize(pointIS, &numFaces)); in DMPlexComputeBdJacobianSingleByLabel()
5968 PetscCall(ISGetIndices(pointIS, &points)); in DMPlexComputeBdJacobianSingleByLabel()
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()
6063 PetscCall(ISRestoreIndices(pointIS, &points)); in DMPlexComputeBdJacobianSingleByLabel()
6064 PetscCall(ISDestroy(&pointIS)); in DMPlexComputeBdJacobianSingleByLabel()