Lines Matching refs:rootrank
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()
1181 …bnd->depth; d++) PetscCall(PetscSectionReplicate_Private(comm, rootrank, (rank == rootrank) ? bnd0… in DMPlexGetExpandedBoundary_Private()
1183 …if (rank == rootrank) PetscCall(DMPlexRestoreConeRecursive(idm, boundary_is, &bnd0->depth, &bounda… in DMPlexGetExpandedBoundary_Private()