:orphan: # VecScatterGetType Gets the vector scatter type name (as a string) from the `VecScatter`. ## Synopsis ``` #include "petscsf.h" PetscErrorCode VecScatterGetType(VecScatter sf, VecScatterType *type) ``` Not Collective ## Input Parameter - ***sf -*** The vector scatter ## Output Parameter - ***type -*** The vector scatter type name ## See Also [](sec_scatter), `VecScatter`, `VecScatterType`, `VecScatterSetType()`, `VecScatterCreate()` ## Level intermediate ## 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)