PetscViewerDestroy#

Destroys a PetscViewer.

Synopsis#

#include "petscviewer.h" 
PetscErrorCode PetscViewerDestroy(PetscViewer *viewer)

Collective

Input Parameter#

See Also#

Viewers: Looking at PETSc Objects, PetscViewer, PetscViewerCreate(), PetscViewerSocketOpen(), PetscViewerASCIIOpen(), PetscViewerDrawOpen()

Level#

beginner

Location#

src/sys/classes/viewer/interface/view.c

Examples#

src/mat/tutorials/ex12.c
src/tao/tutorials/ex3.c
src/mat/tutorials/ex16.c
src/mat/tutorials/ex10.c
src/mat/tutorials/ex1.c
src/tao/constrained/tutorials/maros.c
src/dm/tutorials/ex9.c
src/dm/tutorials/ex5.c
src/tao/leastsquares/tutorials/tomography.c
src/tao/constrained/tutorials/tomographyADMM.c

Implementations#

PetscViewerDestroy_ExodusII() in src/dm/impls/plex/exodusii/plexexodusii2.c
PetscViewerDestroy_ADIOS() in src/sys/classes/viewer/impls/adios/adios.c
PetscViewerDestroy_SAWs() in src/sys/classes/viewer/impls/ams/ams.c
PetscViewerDestroy_ASCII() in src/sys/classes/viewer/impls/ascii/filev.c
PetscViewerDestroy_Binary() in src/sys/classes/viewer/impls/binary/binv.c
PetscViewerDestroy_CGNS() in src/sys/classes/viewer/impls/cgns/cgnsv.c
PetscViewerDestroy_Draw() in src/sys/classes/viewer/impls/draw/drawv.c
PetscViewerDestroy_GLVis() in src/sys/classes/viewer/impls/glvis/glvis.c
PetscViewerDestroy_HDF5() in src/sys/classes/viewer/impls/hdf5/hdf5v.c
PetscViewerDestroy_Mathematica() in src/sys/classes/viewer/impls/mathematica/mathematica.c
PetscViewerDestroy_Matlab() in src/sys/classes/viewer/impls/matlab/vmatlab.c
PetscViewerDestroy_Socket() in src/sys/classes/viewer/impls/socket/send.c
PetscViewerDestroy_String() in src/sys/classes/viewer/impls/string/stringv.c
PetscViewerDestroy_VTK() in src/sys/classes/viewer/impls/vtk/vtkv.c
PetscViewerDestroy_VU() in src/sys/classes/viewer/impls/vu/petscvu.c


Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages