petsc-3.9.4 2018-09-11
PetscViewerCreate
Creates a viewing context
Synopsis
#include "petscviewer.h"
PetscErrorCode PetscViewerCreate(MPI_Comm comm,PetscViewer *inviewer)
Collective on MPI_Comm
Input Parameter
comm -MPI communicator
Output Parameter
inviewer -location to put the PetscViewer context
See Also
PetscViewerDestroy(), PetscViewerSetType(), PetscViewerType
Level
advanced
Location
src/sys/classes/viewer/interface/viewreg.c
Examples
src/sys/classes/viewer/examples/tutorials/ex1.c.html
src/dm/impls/plex/examples/tutorials/ex1.c.html
src/dm/impls/plex/examples/tutorials/ex1f90.F90.html
src/dm/examples/tutorials/ex15.c.html
src/dm/examples/tutorials/ex20.c.html
src/ksp/ksp/examples/tutorials/ex43.c.html
src/ksp/ksp/examples/tutorials/ex70.c.html
src/snes/examples/tutorials/ex12.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex48.c.html
Implementations
PetscViewerCreate_SAWs in src/sys/classes/viewer/impls/ams/ams.c
PetscViewerCreate_ASCII in src/sys/classes/viewer/impls/ascii/filev.c
PetscViewerCreate_Binary in src/sys/classes/viewer/impls/binary/binv.c
PetscViewerCreate_Draw in src/sys/classes/viewer/impls/draw/drawv.c
PetscViewerCreate_GLVis in src/sys/classes/viewer/impls/glvis/glvis.c
PetscViewerCreate_HDF5 in src/sys/classes/viewer/impls/hdf5/hdf5v.c
PetscViewerCreate_Mathematica in src/sys/classes/viewer/impls/mathematica/mathematica.c
PetscViewerCreate_Matlab in src/sys/classes/viewer/impls/matlab/vmatlab.c
PetscViewerCreate_Socket in src/sys/classes/viewer/impls/socket/send.c
PetscViewerCreate_String in src/sys/classes/viewer/impls/string/stringv.c
PetscViewerCreate_VTK in src/sys/classes/viewer/impls/vtk/vtkv.c
PetscViewerCreate_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