~ubuntu-branches/ubuntu/warty/petsc/warty

« back to all changes in this revision

Viewing changes to docs/manualpages/GVec/GMatView.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2004-06-07 13:41:43 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040607134143-92p586zrauvie0le
Tags: 2.2.0-2
* Upstream patch level 2.
* New PETSC_BOPT_EXTRA option for different BOPT and lib names, with _c++
  symlinks only for plain and single (closes: #249617).
* New DEBIAN_DIST=contrib option to link with hypre, parmetis (closes:
  #249619).
* Combined petsc-c and petsc-fortran substvars into petsc-compilers.
* Extra quote in -dev prerm eliminates "too many arguments" problem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
2
 
<HTML>
3
 
<HEAD>
4
 
<META NAME="GENERATOR" CONTENT="DOCTEXT">
5
 
<TITLE>GMatView</TITLE>
6
 
</HEAD>
7
 
<BODY BGCOLOR="FFFFFF">
8
 
<A NAME="GMatView"><H1>GMatView</H1></A>
9
 
Views a grid matrix. 
10
 
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
11
 
<PRE>
12
 
#include "gvec.h" 
13
 
int GMatView(GMat mat, PetscViewer viewer)
14
 
</PRE>
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
18
 
</TD></TR>
19
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>viewer </B></TD><TD>- an optional visualization context
20
 
</TD></TR></TABLE>
21
 
<P>
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.
27
 
<P>
28
 
The available visualization contexts include
29
 
<pre>
30
 
    VIEWER_STDOUT_SELF - standard output (default)
31
 
</pre>
32
 
<pre>
33
 
    VIEWER_STDOUT_WORLD - synchronized standard
34
 
</pre>
35
 
<pre>
36
 
      output where only the first processor opens
37
 
</pre>
38
 
<pre>
39
 
      the file.  All other processors send their 
40
 
</pre>
41
 
<pre>
42
 
      data to the first processor to print. 
43
 
</pre>
44
 
<P>
45
 
The user can open alternative visualization contexts with
46
 
<pre>
47
 
   PetscViewerFileOpenASCII() - output vector to a specified file
48
 
</pre>
49
 
<pre>
50
 
   PetscViewerFileOpenBinary() - output in binary to a
51
 
</pre>
52
 
<pre>
53
 
        specified file; corresponding input uses <A HREF="../Vec/VecLoad.html#VecLoad">VecLoad</A>()
54
 
</pre>
55
 
<pre>
56
 
   PetscViewerDrawOpenX() - output vector to an X window display
57
 
</pre>
58
 
<pre>
59
 
   DrawLGCreate() - output vector as a line graph to an X window display
60
 
</pre>
61
 
<pre>
62
 
   PetscViewerMatlabOpen() - output vector to Matlab viewer
63
 
</pre>
64
 
<P>
65
 
 
66
 
<P>
67
 
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
68
 
 view, visualize, output, print, write, draw
69
 
<BR>
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>
77
 
</BODY></HTML>