# PetscViewerVUSetVecSeen
Sets 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 PetscViewerVUSetVecSeen(PetscViewer viewer, PetscBool vecSeen)
```
Not Collective


## Input Parameters

- ***viewer  -*** The `PETSCVIEWERVU` `PetscViewer`
- ***vecSeen -*** The flag which indicates whether we have viewed a vector





## See Also
 `PETSCVIEWERVU`, `PetscViewerVUGetVecSeen()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/vu/petscvu.c.html#PetscViewerVUSetVecSeen">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)  
