:orphan: # VecStashGetInfo Gets how many values are currently in the vector stash, i.e. need to be communicated to other processors during the `VecAssemblyBegin()`/`VecAssemblyEnd()` process ## Synopsis ``` #include "petscvec.h" PetscErrorCode VecStashGetInfo(Vec vec, PetscInt *nstash, PetscInt *reallocs, PetscInt *bnstash, PetscInt *breallocs) ``` Not Collective ## Input Parameter - ***vec -*** the vector ## Output Parameters - ***nstash -*** the size of the stash - ***reallocs -*** the number of additional mallocs incurred in building the stash - ***bnstash -*** the size of the block stash - ***breallocs -*** the number of additional mallocs incurred in building the block stash (from `VecSetValuesBlocked()`) ## See Also [](ch_vectors), `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `Vec`, `VecStashSetInitialSize()`, `VecStashView()` ## Level advanced ## Location src/vec/vec/interface/vector.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/vec/interface/vector.c) [Index of all Vec routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)