:orphan: # VecScatterGetMerged Returns true if the scatter is completed in the `VecScatterBegin()` and the `VecScatterEnd()` does nothing ## Synopsis ``` #include "petscsf.h" PetscErrorCode VecScatterGetMerged(VecScatter sf, PetscBool *flg) ``` Not Collective ## Input Parameter - ***sf -*** scatter context created with `VecScatterCreate()` ## Output Parameter - ***flg -*** `PETSC_TRUE` if the `VecScatterBegin()`/`VecScatterEnd()` are all done during the `VecScatterBegin()` ## See Also [](sec_scatter), `VecScatter`, `VecScatterCreate()`, `VecScatterEnd()`, `VecScatterBegin()` ## Level developer ## 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)