# VecScatterGetMerged

Returns true if the scatter is completed in the VecScatterBegin() and the VecScatterEnd() does nothing

### Synopsis

    #include "petscis.h"
    #include "petscvec.h"
    PetscErrorCode PETSCVEC_DLLEXPORT VecScatterGetMerged(VecScatter ctx,PetscTruth *flg)

Not Collective

### Input Parameter

ctx -scatter context created with VecScatterCreate()

### Output Parameter

flg -PETSC_TRUE if the VecScatterBegin/End() are all done during the VecScatterBegin()

### See Also

VecScatterCreate(), VecScatterEnd(), VecScatterBegin()

Level:developer
Location:src/vec/vec/utils/vscat.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages