| /petsc/src/vec/is/sf/impls/basic/neighbor/ |
| H A D | sfneighbor.c | 27 PetscInt rootdegree, leafdegree; member 105 …if (dat->rootdegree || dat->leafdegree) { // OpenMPI-3.0 ran into error with rootdegree = leafdegr… in PetscSFLinkStartCommunication_Neighbor() 108 …PetscCall(PetscLogMPIMessages(dat->rootdegree, dat->rootcounts, link->unit, dat->leafdegree, dat->… in PetscSFLinkStartCommunication_Neighbor() 111 …PetscCall(PetscLogMPIMessages(dat->leafdegree, dat->leafcounts, link->unit, dat->rootdegree, dat->… in PetscSFLinkStartCommunication_Neighbor() 130 if (dat->rootdegree || dat->leafdegree) { in PetscSFLinkInitMPIRequests_Persistent_Neighbor() 160 if (dat->rootdegree || dat->leafdegree) { in PetscSFLinkStartCommunication_Persistent_Neighbor() 163 …PetscCall(PetscLogMPIMessages(dat->rootdegree, dat->rootcounts, link->unit, dat->leafdegree, dat->… in PetscSFLinkStartCommunication_Persistent_Neighbor() 165 …PetscCall(PetscLogMPIMessages(dat->leafdegree, dat->leafcounts, link->unit, dat->rootdegree, dat->… in PetscSFLinkStartCommunication_Persistent_Neighbor() 203 dat->rootdegree = m = (PetscMPIInt)(nrootranks - ndrootranks); in PetscSFSetUp_Neighbor()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexinterpolate.c | 996 const PetscInt *locals, *rootdegree; in DMPlexMapToGlobalPoint() local 1007 PetscCall(PetscSFComputeDegreeBegin(sf, &rootdegree)); in DMPlexMapToGlobalPoint() 1008 PetscCall(PetscSFComputeDegreeEnd(sf, &rootdegree)); in DMPlexMapToGlobalPoint() 1009 if (rootdegree[localPoint]) goto owned; in DMPlexMapToGlobalPoint() 1024 const PetscInt *locals, *rootdegree; in DMPlexPointIsShared() local 1037 PetscCall(PetscSFComputeDegreeBegin(sf, &rootdegree)); in DMPlexPointIsShared() 1038 PetscCall(PetscSFComputeDegreeEnd(sf, &rootdegree)); in DMPlexPointIsShared() 1039 if (rootdegree[p] > 0) *isShared = PETSC_TRUE; in DMPlexPointIsShared() 1187 const PetscInt *localPoints, *rootdegree; in DMPlexInterpolatePointSF() local 1221 PetscCall(PetscSFComputeDegreeBegin(pointSF, &rootdegree)); in DMPlexInterpolatePointSF() [all …]
|
| H A D | plexdistribute.c | 443 const PetscInt *rootdegree; in DMPlexDistributeOwnership() local 456 PetscCall(PetscSFComputeDegreeBegin(sfPoint, &rootdegree)); in DMPlexDistributeOwnership() 457 PetscCall(PetscSFComputeDegreeEnd(sfPoint, &rootdegree)); in DMPlexDistributeOwnership() 458 …for (p = pStart; p < pEnd; ++p) PetscCall(PetscSectionSetDof(rootSection, p, rootdegree[p - pStart… in DMPlexDistributeOwnership()
|
| H A D | plexsubmesh.c | 3711 const PetscInt *localPoints, *subpoints, *rootdegree; in DMPlexCreateSubmeshGeneric_Interpolated() local 3738 PetscCall(PetscSFComputeDegreeBegin(sfPoint, &rootdegree)); in DMPlexCreateSubmeshGeneric_Interpolated() 3739 PetscCall(PetscSFComputeDegreeEnd(sfPoint, &rootdegree)); in DMPlexCreateSubmeshGeneric_Interpolated() 3802 … if (rootdegree[subpoints[p] - pStart]) newOwners[subpoints[p] - pStart].rank = rank + size; in DMPlexCreateSubmeshGeneric_Interpolated()
|
| H A D | plex.c | 9781 const PetscInt *rootdegree; in DMPlexCheckPointSF() local 9783 PetscCall(PetscSFComputeDegreeBegin(pointSF, &rootdegree)); in DMPlexCheckPointSF() 9784 PetscCall(PetscSFComputeDegreeEnd(pointSF, &rootdegree)); in DMPlexCheckPointSF() 9793 if (!rootdegree[cone[c]]) { in DMPlexCheckPointSF()
|
| /petsc/src/vec/is/utils/ |
| H A D | isltog.c | 1229 const PetscInt *gidxs, *rootdegree; in ISLocalToGlobalMappingSetUpBlockInfo_Private() local 1261 PetscCall(PetscSFComputeDegreeBegin(sf, &rootdegree)); in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1262 PetscCall(PetscSFComputeDegreeEnd(sf, &rootdegree)); in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1263 for (i = 0, mnroots = 0; i < nroots; i++) mnroots += rootdegree[i]; in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1266 mrootdata[2 * i + 0] = rootdegree[i]; in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1268 m += rootdegree[i]; in ISLocalToGlobalMappingSetUpBlockInfo_Private()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex18.c | 1272 const PetscInt *rootdegree; in PointSFGetInwardInterfacePoints() local 1277 PetscCall(PetscSFComputeDegreeBegin(sf, &rootdegree)); in PointSFGetInwardInterfacePoints() 1278 PetscCall(PetscSFComputeDegreeEnd(sf, &rootdegree)); in PointSFGetInwardInterfacePoints() 1279 PetscCall(PetscSFComputeMultiRootOriginalNumbering(sf, rootdegree, &n, &arr)); in PointSFGetInwardInterfacePoints()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 2004 const PetscInt *rootdegree; in DMPlexTransformCreateSF() local 2052 PetscCall(PetscSFComputeDegreeBegin(sf, &rootdegree)); in DMPlexTransformCreateSF() 2053 PetscCall(PetscSFComputeDegreeEnd(sf, &rootdegree)); in DMPlexTransformCreateSF() 2062 if (!rootdegree[p - pStart]) continue; in DMPlexTransformCreateSF()
|