:orphan:
# 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`, `PetscViewer`, `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</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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
