:orphan: # PetscSFSetGraphSection Sets the `PetscSF` graph encoding the parallel dof overlap based upon the `PetscSection` describing the data layout. ## Synopsis ``` #include "petscsf.h" PetscErrorCode PetscSFSetGraphSection(PetscSF sf, PetscSection localSection, PetscSection globalSection) ``` ## Input Parameters - ***sf -*** The `PetscSF` - ***localSection -*** `PetscSection` describing the local data layout - ***globalSection -*** `PetscSection` describing the global data layout ## See Also `PetscSF`, `PetscSFSetGraph()`, `PetscSFSetGraphLayout()` ## Level developer ## Location src/vec/is/sf/utils/sfutils.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/sf/utils/sfutils.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)