Home
last modified time | relevance | path

Searched refs:myrank (Results 1 – 6 of 6) sorted by relevance

/petsc/src/dm/impls/redundant/
H A Ddmredundant.c303 PetscMPIInt myrank; in DMRedundantSetSize_Redundant() local
307 PetscCallMPI(MPI_Comm_rank(PetscObjectComm((PetscObject)dm), &myrank)); in DMRedundantSetSize_Redundant()
310 red->n = (myrank == rank) ? N : 0; in DMRedundantSetSize_Redundant()
/petsc/src/dm/impls/plex/
H A Dplexdistribute.c444 PetscInt *myrank, *remoterank; in DMPlexDistributeOwnership() local
462 PetscCall(PetscMalloc1(pEnd - pStart, &myrank)); in DMPlexDistributeOwnership()
464 for (p = 0; p < pEnd - pStart; ++p) myrank[p] = rank; in DMPlexDistributeOwnership()
465 PetscCall(PetscSFGatherBegin(sfPoint, MPIU_INT, myrank, remoterank)); in DMPlexDistributeOwnership()
466 PetscCall(PetscSFGatherEnd(sfPoint, MPIU_INT, myrank, remoterank)); in DMPlexDistributeOwnership()
467 PetscCall(PetscFree(myrank)); in DMPlexDistributeOwnership()
H A Dplexpreallocate.c242 PetscMPIInt myrank; in DMPlexCreateAdjacencySection_Static() local
255 PetscCallMPI(MPI_Comm_rank(comm, &myrank)); in DMPlexCreateAdjacencySection_Static()
283 if (remotes[l].rank == myrank) { in DMPlexCreateAdjacencySection_Static()
H A Dplexsfc.c548 PetscMPIInt myrank; in DMPlexCorrectOrientationForIsoperiodic() local
553 PetscCallMPI(MPI_Comm_rank(comm, &myrank)); in DMPlexCorrectOrientationForIsoperiodic()
585 if (iremote[l].rank != myrank) continue; in DMPlexCorrectOrientationForIsoperiodic()
839 remote[i].rank = myrank; in DMPlexCorrectOrientationForIsoperiodic()
/petsc/src/vec/is/sf/interface/
H A Dsf.c2242 PetscMPIInt myrank; in PetscSFCreateLocalSF_Private() local
2257 PetscCallMPI(MPI_Comm_rank(comm, &myrank)); in PetscSFCreateLocalSF_Private()
2263 if (irank == myrank) lnleaves++; in PetscSFCreateLocalSF_Private()
2270 if (irank == myrank) { in PetscSFCreateLocalSF_Private()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1165 PetscMPIInt myrank, nranks; in DMPlexCGNS_MatchCGNSFacesToPlexFaces() local
1169 PetscCallMPI(MPI_Comm_rank(comm, &myrank)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1266 ownedFaceRemotes_buffer[n] = (PetscSFNode){.rank = myrank, .index = f_i}; in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1310 myrank_total_count = rank_start[myrank]; in DMPlexCGNS_MatchCGNSFacesToPlexFaces()