Searched refs:remoteDepths (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexdistribute.c | 778 PetscInt *pointDepths, *remoteDepths, *ilocal; in DMPlexCreateOverlapMigrationSF() local 794 PetscCall(PetscMalloc2(nroots, &pointDepths, nleaves, &remoteDepths)); in DMPlexCreateOverlapMigrationSF() 799 for (p = 0; p < nleaves; p++) remoteDepths[p] = -1; 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() 806 for (p = 0; p < nleaves; p++) depthRecv[remoteDepths[p]]++; in DMPlexCreateOverlapMigrationSF() 849 point = depthIdx[remoteDepths[p]]; in DMPlexCreateOverlapMigrationSF() 853 depthIdx[remoteDepths[p]]++; in DMPlexCreateOverlapMigrationSF() 855 PetscCall(PetscFree2(pointDepths, remoteDepths)); in DMPlexCreateOverlapMigrationSF() 889 PetscSFNode *pointDepths, *remoteDepths; in DMPlexStratifyMigrationSF() local [all …]
|