| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex14.c | 16 PetscSF pointSF; in main() local 54 PetscCall(DMGetPointSF(dm, &pointSF)); in main() 57 PetscCall(PetscSFCreateRemoteOffsets(pointSF, section, section, &remoteOffsets)); in main() 60 PetscCall(PetscSFCreateSectionSF(pointSF, section, remoteOffsets, section, §ionSF)); in main()
|
| H A D | ex14f90.F90 | 14 type(tPetscSF) :: pointSF 52 PetscCallA(DMGetPointSF(dm, pointSF, ierr)) 55 PetscCallA(PetscSFCreateRemoteOffsets(pointSF, section, section, remoteOffsets, ierr)) 58 PetscCallA(PetscSFCreateSectionSF(pointSF, section, remoteOffsets, section, sectionSF, ierr))
|
| /petsc/src/vec/is/sf/utils/ftn-custom/ |
| H A D | zsfutilsf90.c | 41 PETSC_EXTERN void petscsfcreateremoteoffsets_(PetscSF *pointSF, PetscSection *rootSection, PetscSec… in petscsfcreateremoteoffsets_() argument 46 *ierr = PetscSFCreateRemoteOffsets(*pointSF, *rootSection, *leafSection, &fa); in petscsfcreateremoteoffsets_()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexnatural.c | 212 PetscSF pointSF; in DMPlexMigrateGlobalToNaturalSF() local 215 PetscCall(DMGetPointSF(dmOld, &pointSF)); in DMPlexMigrateGlobalToNaturalSF() 216 …PetscCall(PetscSectionCreateGlobalSection(oldLocalSection, pointSF, PETSC_TRUE, PETSC_TRUE, PETSC_… in DMPlexMigrateGlobalToNaturalSF() 222 PetscCall(DMGetPointSF(dmNew, &pointSF)); in DMPlexMigrateGlobalToNaturalSF() 223 …PetscCall(PetscSectionCreateGlobalSection(newLocalSection, pointSF, PETSC_TRUE, PETSC_TRUE, PETSC_… in DMPlexMigrateGlobalToNaturalSF()
|
| H A D | plexdistribute.c | 781 PetscSF pointSF; in DMPlexCreateOverlapMigrationSF() local 834 PetscCall(DMGetPointSF(dm, &pointSF)); in DMPlexCreateOverlapMigrationSF() 835 PetscCall(PetscSFGetGraph(pointSF, NULL, &numSharedPoints, &sharedLocal, &sharedRemote)); in DMPlexCreateOverlapMigrationSF() 1005 PetscErrorCode DMPlexDistributeField(DM dm, PetscSF pointSF, PetscSection originalSection, Vec orig… in DMPlexDistributeField() argument 1013 PetscCall(PetscSFDistributeSection(pointSF, originalSection, &remoteOffsets, newSection)); in DMPlexDistributeField() 1021 PetscCall(PetscSFCreateSectionSF(pointSF, originalSection, remoteOffsets, newSection, &fieldSF)); in DMPlexDistributeField() 1051 PetscErrorCode DMPlexDistributeFieldIS(DM dm, PetscSF pointSF, PetscSection originalSection, IS ori… in DMPlexDistributeFieldIS() argument 1059 …PetscCall(PetscSectionMigrateData(pointSF, MPIU_INT, originalSection, originalValues, newSection, … in DMPlexDistributeFieldIS() 1063 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)pointSF), fieldSize, newValues, PETSC_OWN_P… in DMPlexDistributeFieldIS() 1091 PetscErrorCode DMPlexDistributeData(DM dm, PetscSF pointSF, PetscSection originalSection, MPI_Datat… in DMPlexDistributeData() argument [all …]
|
| H A D | plexinterpolate.c | 1180 PetscErrorCode DMPlexInterpolatePointSF(DM dm, PetscSF pointSF) in DMPlexInterpolatePointSF() argument 1196 PetscValidHeaderSpecific(pointSF, PETSCSF_CLASSID, 2); in DMPlexInterpolatePointSF() 1200 PetscCall(DMSetPointSF(dm, pointSF)); in DMPlexInterpolatePointSF() 1207 PetscCall(PetscObjectViewFromOptions((PetscObject)pointSF, NULL, "-petscsf_interp_pre_view")); in DMPlexInterpolatePointSF() 1210 PetscCall(PetscSFGetGraph(pointSF, &Nr, &Nl, &localPoints, &remotePoints)); in DMPlexInterpolatePointSF() 1221 PetscCall(PetscSFComputeDegreeBegin(pointSF, &rootdegree)); in DMPlexInterpolatePointSF() 1222 PetscCall(PetscSFComputeDegreeEnd(pointSF, &rootdegree)); in DMPlexInterpolatePointSF() 1273 PetscCall(PetscSFGetMultiSF(pointSF, &sfMulti)); in DMPlexInterpolatePointSF() 1418 PetscCall(PetscSFGetMultiSF(pointSF, &sfMulti)); in DMPlexInterpolatePointSF()
|
| H A D | plexsfc.c | 563 PetscSF pointSF, sectionSF; in DMPlexCorrectOrientationForIsoperiodic() local 570 PetscCall(DMGetPointSF(dm, &pointSF)); in DMPlexCorrectOrientationForIsoperiodic() 571 …PetscCall(PetscSectionCreateGlobalSection(localSection, pointSF, PETSC_TRUE, PETSC_TRUE, PETSC_FAL… in DMPlexCorrectOrientationForIsoperiodic()
|
| H A D | plexsubmesh.c | 1183 PetscSF pointSF; in DMPlexLabelFaultHalo() local 1212 PetscCall(DMGetPointSF(dm, &pointSF)); in DMPlexLabelFaultHalo() 1213 PetscCall(DMLabelPropagateBegin(faultLabel, pointSF)); in DMPlexLabelFaultHalo() 1218 PetscCall(DMLabelPropagatePush(faultLabel, pointSF, divideCell, &div)); in DMPlexLabelFaultHalo() 1221 PetscCall(DMLabelPropagateEnd(faultLabel, pointSF)); in DMPlexLabelFaultHalo() 3414 PetscSF pointSF; in DMPlexCreateSubmeshGeneric_Interpolated() local 3418 PetscCall(DMGetPointSF(dm, &pointSF)); in DMPlexCreateSubmeshGeneric_Interpolated() 3419 PetscCall(PetscSFGetGraph(pointSF, NULL, &nleaves, &ilocal, NULL)); in DMPlexCreateSubmeshGeneric_Interpolated()
|
| H A D | plex.c | 9725 PetscErrorCode DMPlexCheckPointSF(DM dm, PetscSF pointSF, PetscBool allowExtraRoots) in DMPlexCheckPointSF() argument 9736 if (pointSF) PetscValidHeaderSpecific(pointSF, PETSCSF_CLASSID, 2); in DMPlexCheckPointSF() 9737 else pointSF = dm->sf; in DMPlexCheckPointSF() 9739 PetscCheck(pointSF, comm, PETSC_ERR_ARG_WRONGSTATE, "DMPlex must have Point SF attached"); in DMPlexCheckPointSF() 9744 PetscCallMPI(MPI_Comm_compare(comm, PetscObjectComm((PetscObject)pointSF), &mpiFlag)); in DMPlexCheckPointSF() 9747 PetscCall(PetscSFGetGraph(pointSF, &nroots, &nleaves, &locals, &remotes)); in DMPlexCheckPointSF() 9761 PetscCall(PetscSFGetLeafRange(pointSF, NULL, &maxLeaf)); in DMPlexCheckPointSF() 9783 PetscCall(PetscSFComputeDegreeBegin(pointSF, &rootdegree)); in DMPlexCheckPointSF() 9784 PetscCall(PetscSFComputeDegreeEnd(pointSF, &rootdegree)); in DMPlexCheckPointSF()
|
| H A D | plextree.c | 3370 PetscSF pointSF, sfToParents; in DMPlexTransferInjectorTree() local 3380 PetscCall(DMGetPointSF(coarse, &pointSF)); in DMPlexTransferInjectorTree() 3381 PetscCall(PetscSFGetGraph(pointSF, NULL, &nleaves, &ilocal, &iremote)); in DMPlexTransferInjectorTree()
|
| /petsc/src/dm/impls/plex/transform/impls/refine/sbr/ |
| H A D | plexrefsbr.c | 146 PetscSF pointSF; in DMPlexTransformSetUp_SBR() local 200 PetscCall(DMGetPointSF(dm, &pointSF)); in DMPlexTransformSetUp_SBR() 201 PetscCall(DMLabelPropagateBegin(sbr->splitPoints, pointSF)); in DMPlexTransformSetUp_SBR() 218 PetscCall(DMLabelPropagatePush(sbr->splitPoints, pointSF, splitPoint, queue)); in DMPlexTransformSetUp_SBR() 221 PetscCall(DMLabelPropagateEnd(sbr->splitPoints, pointSF)); in DMPlexTransformSetUp_SBR()
|
| /petsc/src/dm/label/ |
| H A D | dmlabel.c | 2174 static PetscErrorCode DMLabelPropagateInit_Internal(DMLabel label, PetscSF pointSF, PetscInt valArr… in DMLabelPropagateInit_Internal() argument 2183 PetscCall(PetscSFGetGraph(pointSF, &Nr, &Nl, &points, NULL)); in DMLabelPropagateInit_Internal() 2189 PetscCall(PetscSFComputeDegreeBegin(pointSF, °ree)); in DMLabelPropagateInit_Internal() 2190 PetscCall(PetscSFComputeDegreeEnd(pointSF, °ree)); in DMLabelPropagateInit_Internal() 2200 static PetscErrorCode DMLabelPropagateFini_Internal(DMLabel label, PetscSF pointSF, PetscInt valArr… in DMLabelPropagateFini_Internal() argument 2209 PetscCall(PetscSFGetGraph(pointSF, &Nr, &Nl, &points, NULL)); in DMLabelPropagateFini_Internal() 2223 PetscCall(PetscSFComputeDegreeBegin(pointSF, °ree)); in DMLabelPropagateFini_Internal() 2224 PetscCall(PetscSFComputeDegreeEnd(pointSF, °ree)); in DMLabelPropagateFini_Internal() 2284 PetscErrorCode DMLabelPropagateEnd(DMLabel label, PetscSF pointSF) in DMLabelPropagateEnd() argument 2314 PetscErrorCode DMLabelPropagatePush(DMLabel label, PetscSF pointSF, PetscErrorCode (*markPoint)(DML… in DMLabelPropagatePush() argument [all …]
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 2277 PetscSF pointSF; in DMPforestGetCellSFNodes() local 2291 PetscCall(DMGetPointSF(dm, &pointSF)); in DMPforestGetCellSFNodes() 2292 PetscCall(PetscSFGetGraph(pointSF, &nroots, &nleaves, &ilocal, &iremote)); in DMPforestGetCellSFNodes() 2500 PetscSF pointSF; in DMPforestGetTransferSF_Point() local 2512 PetscCall(DMGetPointSF(fine, &pointSF)); in DMPforestGetTransferSF_Point() 2797 PetscCall(PetscSFReduceBegin(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_MAX)); in DMPforestGetTransferSF_Point() 2798 PetscCall(PetscSFReduceEnd(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_MAX)); in DMPforestGetTransferSF_Point() 2799 PetscCall(PetscSFBcastBegin(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_REPLACE)); in DMPforestGetTransferSF_Point() 2800 PetscCall(PetscSFBcastEnd(pointSF, MPIU_INT, rootTypeCopy, rootTypeCopy, MPI_REPLACE)); in DMPforestGetTransferSF_Point() 2809 PetscCall(PetscSFReduceBegin(pointSF, nodeType, roots, roots, sfNodeReduce)); in DMPforestGetTransferSF_Point() [all …]
|
| /petsc/doc/manual/ |
| H A D | section.md | 153 To do this, we introduce three new concepts; a `localSection`, `globalSection`, `pointSF`, and `sec… 158 To describe this parallel mesh point layout, we use a `PetscSF` and call it the `pointSF`. 159 The `pointSF` describes which processes "own" which mesh points and which process is the owner of e… 163 …we use `PetscSectionCreateGlobalSection()`, which takes the `localSection` and `pointSF` as inputs. 173 The `localSection`, `globalSection`, `pointSF`, and `sectionSF` on a `DM` can be obtained via `DMGe…
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex3.c | 625 PetscSF pointSF; in TestFVGrad() local 630 PetscCall(DMGetPointSF(dmRedist, &pointSF)); in TestFVGrad() 631 PetscCall(PetscObjectReference((PetscObject)pointSF)); in TestFVGrad() 634 PetscCall(DMSetPointSF(dmRedist, pointSF)); in TestFVGrad() 635 PetscCall(PetscSFDestroy(&pointSF)); in TestFVGrad()
|
| H A D | ex18.c | 1284 static PetscErrorCode PointSFGetInterfacePoints_Private(PetscSF pointSF, IS *is) in PointSFGetInterfacePoints_Private() argument 1289 PetscCall(PointSFGetOutwardInterfacePoints(pointSF, &pointSF_out_is)); in PointSFGetInterfacePoints_Private() 1290 PetscCall(PointSFGetInwardInterfacePoints(pointSF, &pointSF_in_is)); in PointSFGetInterfacePoints_Private()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 777 PetscSF pointSF; in DMPlexDistributionView_HDF5_Private() local 802 PetscCall(DMGetPointSF(dm, &pointSF)); in DMPlexDistributionView_HDF5_Private() 803 PetscCall(PetscSFGetGraph(pointSF, &nroots, &nleaves, &ilocal, &iremote)); in DMPlexDistributionView_HDF5_Private() 2057 PetscSF pointSF; in DMPlexDistributionLoad_HDF5_Private() local 2092 PetscCall(PetscSFCreate(comm, &pointSF)); in DMPlexDistributionLoad_HDF5_Private() 2093 PetscCall(PetscSFSetFromOptions(pointSF)); in DMPlexDistributionLoad_HDF5_Private() 2094 …PetscCall(PetscSFSetGraph(pointSF, *chartSize, nleaves, ilocal, PETSC_OWN_POINTER, iremote, PETSC_… in DMPlexDistributionLoad_HDF5_Private() 2095 PetscCall(DMSetPointSF(*distdm, pointSF)); in DMPlexDistributionLoad_HDF5_Private() 2100 PetscCall(DMSetPointSF(cdm, pointSF)); in DMPlexDistributionLoad_HDF5_Private() 2102 PetscCall(PetscSFDestroy(&pointSF)); in DMPlexDistributionLoad_HDF5_Private()
|