PetscSFComputeDegreeBegin

begin computation of degree for each root vertex, to be completed with PetscSFComputeDegreeEnd()

Synopsis

#include "petscsf.h" 
PetscErrorCode PetscSFComputeDegreeBegin(PetscSF sf,const PetscInt **degree)
Collective

Input Arguments

sf - star forest

Output Arguments

degree - degree of each root vertex

Level: advanced

Notes

The returned array is owned by PetscSF and automatically freed by PetscSFDestroy(). Hence no need to call PetscFree() on it.

See Also

PetscSFGatherBegin()

Location:sf.c