PetscSFCreateInverseSF#
given a PetscSF in which all roots have degree 1 (exactly one leaf), creates the inverse map
Synopsis#
#include "petscsf.h"
PetscErrorCode PetscSFCreateInverseSF(PetscSF sf, PetscSF *isf)
Collective
Input Parameter#
sf - star forest to invert
Output Parameter#
isf - inverse of
sf
Notes#
All roots must have degree 1.
The local space may be a permutation, but cannot be sparse.
See Also#
PetscSF - an alternative to low-level MPI calls for data communication, PetscSF, PetscSFType, PetscSFSetGraph()
Level#
advanced
Location#
Examples#
src/vec/is/sf/tutorials/ex1.c
src/vec/is/sf/tests/ex1.c
src/vec/is/sf/tests/ex5.c
src/dm/impls/plex/tests/ex47.c
src/dm/impls/plex/tests/ex62f90.F90
Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages