:orphan: # DMShellSetGlobalToLocalVecScatter Sets a `VecScatter` context for global to local communication ## Synopsis ``` #include "petscdmshell.h" PetscErrorCode DMShellSetGlobalToLocalVecScatter(DM dm, VecScatter gtol) ``` Logically Collective on dm Input Parameters - ***dm -*** the `DMSHELL` - ***gtol -*** the global to local `VecScatter` context ## See Also `DM`, `DMSHELL`, `DMShellSetGlobalToLocal()`, `DMGlobalToLocalBeginDefaultShell()`, `DMGlobalToLocalEndDefaultShell()` ## Level advanced ## Location src/dm/impls/shell/dmshell.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/shell/dmshell.c) [Index of all DM routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)