:orphan: # PetscSFGetType Get the `PetscSF` communication implementation ## Synopsis ``` #include "petscsf.h" PetscErrorCode PetscSFGetType(PetscSF sf, PetscSFType *type) ``` Not Collective ## Input Parameter - ***sf -*** the `PetscSF` context ## Output Parameter - ***type -*** the `PetscSF` type name ## See Also `PetscSF`, `PetscSFType`, `PetscSFSetType()`, `PetscSFCreate()` ## Level intermediate ## Location src/vec/is/sf/interface/sf.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)