Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1202 PetscInt *local_rank_count; in DMPlexCGNS_MatchCGNSFacesToPlexFaces() local
1206 PetscCall(PetscCalloc1(nranks, &local_rank_count)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1265 local_rank_count[face_ranks[n]]++; in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1309 PetscCallMPI(MPIU_Allreduce(local_rank_count, rank_start, nranks, MPIU_INT, MPI_SUM, comm)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1312 PetscCallMPI(MPI_Exscan(local_rank_count, rank_start, nranks, MPIU_INT, MPI_SUM, comm)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1342 PetscCall(PetscFree(local_rank_count)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()