# PetscViewerVUGetVecSeen
Gets the flag which indicates whether we have viewed a vector. This is usually called internally rather than by a user. 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscViewerVUGetVecSeen(PetscViewer viewer, PetscBool *vecSeen)
```
Not Collective


## Input Parameter

- ***viewer  -*** The `PETSCVIEWERVU` `PetscViewer`



## Output Parameter

- ***vecSeen -*** The flag which indicates whether we have viewed a vector





## See Also
 [](sec_viewers), `PETSCVIEWERVU`, `PetscViewerVUGetVecSeen()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/vu/petscvu.c.html#PetscViewerVUGetVecSeen">src/sys/classes/viewer/impls/vu/petscvu.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/vu/petscvu.c)


[Index of all Viewer routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
