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

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