Searched refs:newLocation (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 708 PetscInt *glocalPoints, *newLocation, *newRemoteLocation; in DMPlexShiftSF_Single() local 717 PetscCall(PetscMalloc2(numRoots, &newLocation, pEnd - pStart, &newRemoteLocation)); in DMPlexShiftSF_Single() 718 for (l = 0; l < numRoots; ++l) newLocation[l] = DMPlexShiftPoint_Internal(l, depth, depthShift); in DMPlexShiftSF_Single() 719 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, newLocation, newRemoteLocation, MPI_REPLACE)); in DMPlexShiftSF_Single() 720 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, newLocation, newRemoteLocation, MPI_REPLACE)); in DMPlexShiftSF_Single() 728 PetscCall(PetscFree2(newLocation, newRemoteLocation)); in DMPlexShiftSF_Single()
|