:orphan: # VecScatterRegister Adds a new vector scatter component implementation ## Synopsis ``` #include "petscsf.h" PetscErrorCode VecScatterRegister(const char sname[], PetscErrorCode (*function)(VecScatter)) ``` Not Collective ## Input Parameters - ***sname -*** The name of a new user-defined creation routine - ***function -*** The creation routine ## See Also [](sec_scatter), `VecScatter`, `VecScatterType`, `VecRegister()` ## Level advanced ## Location src/vec/is/sf/interface/vscat.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/sf/interface/vscat.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)