Searched refs:rootrank (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex18.c | 1017 static PetscErrorCode PetscSectionReplicate_Private(MPI_Comm comm, PetscMPIInt rootrank, PetscSecti… in PetscSectionReplicate_Private() argument 1026 if (rank == rootrank) PetscCall(PetscSectionGetChart(sec0, &chart[0], &chart[1])); in PetscSectionReplicate_Private() 1027 PetscCallMPI(MPI_Bcast(chart, 2, MPIU_INT, rootrank, comm)); in PetscSectionReplicate_Private() 1029 if (rank == rootrank) { in PetscSectionReplicate_Private() 1032 PetscCallMPI(MPI_Bcast(dofarr, (PetscMPIInt)(chart[1] - chart[0]), MPIU_INT, rootrank, comm)); in PetscSectionReplicate_Private() 1102 PetscMPIInt rootrank = 0; in DMPlexGetExpandedBoundary_Private() local 1136 if (rank == rootrank) { in DMPlexGetExpandedBoundary_Private() 1159 PetscCallMPI(MPI_Bcast(&n, 1, MPIU_INT, rootrank, comm)); in DMPlexGetExpandedBoundary_Private() 1160 if (rank == rootrank) { in DMPlexGetExpandedBoundary_Private() 1179 PetscCallMPI(MPI_Bcast(&bnd->depth, 1, MPIU_INT, rootrank, comm)); in DMPlexGetExpandedBoundary_Private() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexdistribute.c | 439 PetscErrorCode DMPlexDistributeOwnership(DM dm, PetscSection rootSection, IS *rootrank, PetscSectio… in DMPlexDistributeOwnership() argument 468 PetscCall(ISCreateGeneral(comm, nedges, remoterank, PETSC_OWN_POINTER, rootrank)); in DMPlexDistributeOwnership() 471 PetscCall(DMPlexDistributeFieldIS(dm, sfPoint, rootSection, *rootrank, leafSection, leafrank)); in DMPlexDistributeOwnership() 495 …CreateOverlapLabel(DM dm, PetscInt levels, PetscSection rootSection, IS rootrank, PetscSection lea… in DMPlexCreateOverlapLabel() argument 532 PetscCall(ISGetIndices(rootrank, &rrank)); in DMPlexCreateOverlapLabel() 565 PetscCall(ISRestoreIndices(rootrank, &rrank)); in DMPlexCreateOverlapLabel() 661 …Label exLabel[], const PetscInt exValue[], PetscSection rootSection, IS rootrank, PetscSection lea… in DMPlexCreateOverlapLabelFromLabels() argument 685 PetscCall(ISGetIndices(rootrank, &rrank)); in DMPlexCreateOverlapLabelFromLabels() 733 PetscCall(ISRestoreIndices(rootrank, &rrank)); in DMPlexCreateOverlapLabelFromLabels() 2012 IS rootrank, leafrank; in DMPlexDistributeOverlap_Internal() local [all …]
|