#include "gvec.h" int GMatView(GMat mat, PetscViewer viewer)
mat | - the grid matrix | |
viewer | - an optional visualization context |
The available visualization contexts include
VIEWER_STDOUT_SELF - standard output (default)
VIEWER_STDOUT_WORLD - synchronized standard
output where only the first processor opens
the file. All other processors send their
data to the first processor to print.
The user can open alternative visualization contexts with
PetscViewerFileOpenASCII() - output vector to a specified file
PetscViewerFileOpenBinary() - output in binary to a
specified file; corresponding input uses VecLoad()
PetscViewerDrawOpenX() - output vector to an X window display
DrawLGCreate() - output vector as a line graph to an X window display
PetscViewerMatlabOpen() - output vector to Matlab viewer
Level:beginner
Location:src/gvec/interface/gmat.c
Index of all GVec routines
Table of Contents for all manual pages
Index of all manual pages