petsc-3.11.4 2019-09-28
Report Typos and Errors

PetscSFGetLeafRanks

Get leaf ranks referencing roots on this process

Synopsis

#include "petscsf.h" 
PetscErrorCode PetscSFGetLeafRanks(PetscSF sf,PetscInt *niranks,const PetscMPIInt **iranks,const PetscInt **ioffset,const PetscInt **irootloc)
Not Collective

Input Arguments

sf -star forest

Output Arguments

niranks - number of leaf ranks referencing roots on this process
iranks - array of ranks
ioffset - offset in irootloc for each rank (length niranks+1)
irootloc - concatenated array holding local indices of roots referenced by each leaf rank

See Also

PetscSFGetRanks()

Level

developer

Location

src/vec/is/sf/interface/sf.c

Implementations

PetscSFGetLeafRanks_Basic in src/vec/is/sf/impls/basic/sfbasic.c

Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages