PetscSFGetGroups

gets incoming and outgoing process groups

Synopsis

#include "petscsf.h" 
PetscErrorCode PetscSFGetGroups(PetscSF sf,MPI_Group *incoming,MPI_Group *outgoing)
Collective

Input Argument

sf - star forest

Output Arguments

incoming - group of origin processes for incoming edges (leaves that reference my roots)
outgoing - group of destination processes for outgoing edges (roots that I reference)

Level: developer

See Also

PetscSFGetWindow(), PetscSFRestoreWindow()

Location:sf.c