# PetscViewerVTKWriteFunction
functional form used to provide a writer to the `PETSCVIEWERVTK` 
## Synopsis
```
#include <petscviewer.h>
PetscViewerVTKWriteFunction(PetscObject object,PetscViewer viewer)
```

## Input Parameters

- ***object -*** the PETSc object to be written
- ***viewer -*** viewer it is to be written to





## See Also
 `PetscViewerVTKAddField()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/vtk/vtkv.c.html#PetscViewerVTKWriteFunction">src/sys/classes/viewer/impls/vtk/vtkv.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/vtk/vtkv.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)  
