:orphan: # PetscSFReset Reset a star forest so that different sizes or neighbors can be used ## Synopsis ``` #include "petscsf.h" PetscErrorCode PetscSFReset(PetscSF sf) ``` Collective ## Input Parameter - ***sf -*** star forest ## See Also `PetscSF`, `PetscSFCreate()`, `PetscSFSetGraph()`, `PetscSFDestroy()` ## Level advanced ## Location src/vec/is/sf/interface/sf.c ## Implementations PetscSFReset_Allgatherv in src/vec/is/sf/impls/basic/allgatherv/sfallgatherv.c
PetscSFReset_Neighbor in src/vec/is/sf/impls/basic/neighbor/sfneighbor.c
PetscSFReset_Basic in src/vec/is/sf/impls/basic/sfbasic.c
PetscSFReset_Window in src/vec/is/sf/impls/window/sfwindow.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/sf/interface/sf.c) [Index of all PetscSF routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)