| /petsc/src/dm/impls/patch/ |
| H A D | patch.c | 48 PetscSFNode *remotePoints = NULL; in DMPatchZoom() local 91 …c2(dof * rM * rN * PetscMax(rP, 1), &localPoints, dof * rM * rN * PetscMax(rP, 1), &remotePoints)); in DMPatchZoom() 130 remotePoints[q].rank = r < 0 ? -(r + 1) - 1 : r; in DMPatchZoom() 131 remotePoints[q].index = indices[q] - ranges[remotePoints[q].rank]; in DMPatchZoom() 141 …PetscCall(PetscSFSetGraph(*sfzr, dof * M * N * P, q, localPoints, PETSC_COPY_VALUES, remotePoints,… in DMPatchZoom() 165 remotePoints[q].rank = r < 0 ? -(r + 1) - 1 : r; in DMPatchZoom() 166 remotePoints[q].index = indices[q] - ranges[remotePoints[q].rank]; in DMPatchZoom() 174 …PetscCall(PetscSFSetGraph(*sfz, M * N * P, q, localPoints, PETSC_COPY_VALUES, remotePoints, PETSC_… in DMPatchZoom() 178 PetscCall(PetscFree2(localPoints, remotePoints)); in DMPatchZoom()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexrefine.c | 28 const PetscSFNode *remotePoints; in DMPlexCreateProcessSF() local 41 PetscCall(PetscSFGetGraph(sfPoint, &numRoots, &numLeaves, &localPoints, &remotePoints)); in DMPlexCreateProcessSF() 43 for (l = 0; l < numLeaves; ++l) ranks[l] = (PetscMPIInt)remotePoints[l].rank; in DMPlexCreateProcessSF()
|
| H A D | plexinterpolate.c | 1188 const PetscSFNode *remotePoints; in DMPlexInterpolatePointSF() local 1210 PetscCall(PetscSFGetGraph(pointSF, &Nr, &Nl, &localPoints, &remotePoints)); in DMPlexInterpolatePointSF() 1216 key.i = remotePoints[l].index; in DMPlexInterpolatePointSF() 1217 key.j = remotePoints[l].rank; in DMPlexInterpolatePointSF() 1481 remotePointsNew[l].index = remotePoints[l].index; in DMPlexInterpolatePointSF() 1482 remotePointsNew[l].rank = remotePoints[l].rank; in DMPlexInterpolatePointSF() 1851 const PetscSFNode *remotePoints; in DMPlexUninterpolate() local 1862 PetscCall(PetscSFGetGraph(sfPoint, &numRoots, &numLeaves, &localPoints, &remotePoints)); in DMPlexUninterpolate() 1878 remotePointsUn[n].rank = remotePoints[l].rank; in DMPlexUninterpolate() 1879 remotePointsUn[n].index = remotePoints[l].index; in DMPlexUninterpolate()
|
| H A D | plexpartition.c | 1397 PetscSFNode *remotePoints; in DMPlexPartitionLabelCreateSF() local 1423 PetscCall(PetscMalloc1(numRemote, &remotePoints)); in DMPlexPartitionLabelCreateSF() 1432 remotePoints[idx].index = remoteRoots[p]; in DMPlexPartitionLabelCreateSF() 1433 remotePoints[idx].rank = rank; in DMPlexPartitionLabelCreateSF() 1451 remotePoints[idx].index = remoteRoots[p]; in DMPlexPartitionLabelCreateSF() 1452 remotePoints[idx].rank = nn; in DMPlexPartitionLabelCreateSF() 1461 …PetscCall(PetscSFSetGraph(*sf, pEnd - pStart, numRemote, NULL, PETSC_OWN_POINTER, remotePoints, PE… in DMPlexPartitionLabelCreateSF()
|
| H A D | plexsubmesh.c | 705 const PetscSFNode *remotePoints; in DMPlexShiftSF_Single() local 714 PetscCall(PetscSFGetGraph(sf, &numRoots, &numLeaves, &localPoints, &remotePoints)); in DMPlexShiftSF_Single() 725 gremotePoints[l].rank = remotePoints[l].rank; in DMPlexShiftSF_Single() 3709 const PetscSFNode *remotePoints; in DMPlexCreateSubmeshGeneric_Interpolated() local 3736 PetscCall(PetscSFGetGraph(sfPoint, &numRoots, &numLeaves, &localPoints, &remotePoints)); in DMPlexCreateSubmeshGeneric_Interpolated() 4090 const PetscSFNode *remotePoints; in DMPlexCreateCohesiveSubmesh_Uninterpolated() local 4102 PetscCall(PetscSFGetGraph(sfPoint, &numRoots, &numLeaves, &localPoints, &remotePoints)); in DMPlexCreateCohesiveSubmesh_Uninterpolated()
|
| H A D | plexdistribute.c | 349 const PetscSFNode *remotePoints; in DMPlexCreateTwoSidedProcessSF() local 365 PetscCall(PetscSFGetGraph(sfPoint, NULL, &numLeaves, NULL, &remotePoints)); in DMPlexCreateTwoSidedProcessSF() 391 for (l = 0; l < numLeaves; ++l) PetscCall(PetscBTSet(neighbors, remotePoints[l].rank)); in DMPlexCreateTwoSidedProcessSF()
|
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfutils.c | 449 const PetscSFNode *remotePoints; in PetscSFCreateSectionSF() local 466 PetscCall(PetscSFGetGraph(sf, &numRoots, &numPoints, &localPoints, &remotePoints)); in PetscSFCreateSectionSF() 483 PetscInt rank = remotePoints[i].rank; in PetscSFCreateSectionSF()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 1997 const PetscSFNode *remotePoints; in DMPlexTransformCreateSF() local 2015 PetscCall(PetscSFGetGraph(sf, &numRoots, &numLeaves, &localPoints, &remotePoints)); in DMPlexTransformCreateSF() 2093 remotePointsNew[m].rank = remotePoints[l].rank; in DMPlexTransformCreateSF()
|