1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
4
<META NAME="GENERATOR" CONTENT="DOCTEXT">
5
<TITLE>GMatView</TITLE>
7
<BODY BGCOLOR="FFFFFF">
8
<A NAME="GMatView"><H1>GMatView</H1></A>
10
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
13
int GMatView(GMat mat, PetscViewer viewer)
15
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
16
<TABLE border="0" cellpadding="0" cellspacing="0">
17
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>mat </B></TD><TD>- the grid matrix
19
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>viewer </B></TD><TD>- an optional visualization context
22
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
23
<A HREF="../GVec/GMatView.html#GMatView">GMatView</A>() supports the same viewers as <A HREF="../Mat/MatView.html#MatView">MatView</A>(). The only difference
24
is that for all multiprocessor cases, the output vector employs the natural
25
ordering of the grid, so it many cases this corresponds to the ordering
26
that would have been used for the uniprocessor case.
28
The available visualization contexts include
30
VIEWER_STDOUT_SELF - standard output (default)
33
VIEWER_STDOUT_WORLD - synchronized standard
36
output where only the first processor opens
39
the file. All other processors send their
42
data to the first processor to print.
45
The user can open alternative visualization contexts with
47
PetscViewerFileOpenASCII() - output vector to a specified file
50
PetscViewerFileOpenBinary() - output in binary to a
53
specified file; corresponding input uses <A HREF="../Vec/VecLoad.html#VecLoad">VecLoad</A>()
56
PetscViewerDrawOpenX() - output vector to an X window display
59
DrawLGCreate() - output vector as a line graph to an X window display
62
PetscViewerMatlabOpen() - output vector to Matlab viewer
67
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
68
view, visualize, output, print, write, draw
70
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
71
<A HREF="../Mat/MatView.html#MatView">MatView</A>()
72
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
73
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/gvec/interface/gmat.c.html#GMatView">src/gvec/interface/gmat.c</A>
74
<BR><A HREF="./index.html">Index of all GVec routines</A>
75
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
76
<BR><A HREF="../singleindex.html">Index of all manual pages</A>