petsc-3.11.2 2019-05-18
Report Typos and Errors

PetscSFComputeMultiRootOriginalNumbering

Returns original numbering of multi-roots (roots of multi-SF returned by PetscSFGetMultiSF()). Each multi-root is assigned index of its original root.

Synopsis

#include "petscsf.h" 
PetscErrorCode PetscSFComputeMultiRootOriginalNumbering(PetscSF sf, const PetscInt degree[], PetscInt *mRootsOrigNumbering[])
Collective

Input Arguments

sf - star forest
degree - degree of each root vertex, computed with PetscSFComputeDegreeBegin()/PetscSFComputeDegreeEnd()

Output Arguments

mRootsOrigNumbering -original indices of multi-roots; length of the array is equal to the number of multi-roots (roots of multi-SF)

See Also

PetscSFComputeDegreeBegin(), PetscSFComputeDegreeEnd(), PetscSFGetMultiSF()

Level

developer

Location

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

Examples

src/vec/is/sf/examples/tutorials/ex1.c.html

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