# PetscSectionVecView
View a vector, using the section to structure the values 
## Synopsis
```
#include "petscsection.h"   
#include "petscvec.h"   
PetscErrorCode PetscSectionVecView(PetscSection s, Vec v, PetscViewer viewer)
```
Not collective


## Input Parameters

- ***s      -*** the organizing PetscSection
- ***v      -*** the Vec
- ***viewer -*** the PetscViewer





## See Also
 `PetscSection`, `PetscSectionCreate()`, `VecSetValuesSection()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/utils/vsection.c.html#PetscSectionVecView">src/vec/vec/utils/vsection.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/tutorials/ex14.c.html">src/dm/impls/plex/tutorials/ex14.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/vec/utils/vsection.c)


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