Lines Matching refs:pointDepths
778 PetscInt *pointDepths, *remoteDepths, *ilocal; in DMPlexCreateOverlapMigrationSF() local
794 PetscCall(PetscMalloc2(nroots, &pointDepths, nleaves, &remoteDepths)); in DMPlexCreateOverlapMigrationSF()
797 for (p = pStart; p < pEnd; p++) pointDepths[p] = d; in DMPlexCreateOverlapMigrationSF()
800 PetscCall(PetscSFBcastBegin(overlapSF, MPIU_INT, pointDepths, remoteDepths, MPI_REPLACE)); in DMPlexCreateOverlapMigrationSF()
801 PetscCall(PetscSFBcastEnd(overlapSF, MPIU_INT, pointDepths, remoteDepths, MPI_REPLACE)); in DMPlexCreateOverlapMigrationSF()
855 PetscCall(PetscFree2(pointDepths, remoteDepths)); in DMPlexCreateOverlapMigrationSF()
889 PetscSFNode *pointDepths, *remoteDepths; in DMPlexStratifyMigrationSF() local
908 PetscCall(PetscMalloc2(nroots, &pointDepths, nleaves, &remoteDepths)); in DMPlexStratifyMigrationSF()
915 pointDepths[p].index = d; in DMPlexStratifyMigrationSF()
916 pointDepths[p].rank = ct; in DMPlexStratifyMigrationSF()
923 PetscCall(PetscSFBcastBegin(sf, MPIU_SF_NODE, pointDepths, remoteDepths, MPI_REPLACE)); in DMPlexStratifyMigrationSF()
924 PetscCall(PetscSFBcastEnd(sf, MPIU_SF_NODE, pointDepths, remoteDepths, MPI_REPLACE)); in DMPlexStratifyMigrationSF()
980 PetscCall(PetscFree2(pointDepths, remoteDepths)); in DMPlexStratifyMigrationSF()