PetscSFSetUpRanks

Set up data structures associated with ranks; this is for internal use by PetscSF implementations.

Synopsis

#include "petscsf.h" 
PetscErrorCode PetscSFSetUpRanks(PetscSF sf,MPI_Group dgroup)
Collective

Input Arguments

sf - PetscSF to set up; PetscSFSetGraph() must have been called
dgroup - MPI_Group of ranks to be distinguished (e.g., for self or shared memory exchange)

Level: developer

See Also

PetscSFGetRootRanks()

Location:sf.c