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

« back to all changes in this revision

Viewing changes to docs/manualpages/Mat/MatCreate.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:
12
12
#include "petscmat.h"  
13
13
int MatCreate(MPI_Comm comm,int m,int n,int M,int N,Mat *A)
14
14
</PRE>
15
 
Collective on MPI_Comm
 
15
Collective on <A HREF="../Sys/MPI_Comm.html#MPI_Comm">MPI_Comm</A>
16
16
<P>
17
17
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
18
18
<TABLE border="0" cellpadding="0" cellspacing="0">
19
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>m </B></TD><TD>- number of local rows (or PETSC_DECIDE)
20
 
</TD></TR>
21
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>n </B></TD><TD>- number of local columns (or PETSC_DECIDE)
22
 
</TD></TR>
23
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../Vec/M.html#M">M</A> </B></TD><TD>- number of global rows (or PETSC_DETERMINE)
24
 
</TD></TR>
25
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>N </B></TD><TD>- number of global columns (or PETSC_DETERMINE)
 
19
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>m </B></TD><TD>- number of local rows (or <A HREF="../Sys/PETSC_DECIDE.html#PETSC_DECIDE">PETSC_DECIDE</A>)
 
20
</TD></TR>
 
21
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>n </B></TD><TD>- number of local columns (or <A HREF="../Sys/PETSC_DECIDE.html#PETSC_DECIDE">PETSC_DECIDE</A>)
 
22
</TD></TR>
 
23
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>M </B></TD><TD>- number of global rows (or <A HREF="../Sys/PETSC_DETERMINE.html#PETSC_DETERMINE">PETSC_DETERMINE</A>)
 
24
</TD></TR>
 
25
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>N </B></TD><TD>- number of global columns (or <A HREF="../Sys/PETSC_DETERMINE.html#PETSC_DETERMINE">PETSC_DETERMINE</A>)
26
26
</TD></TR>
27
27
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../Sys/comm.html#comm">comm</A> </B></TD><TD>- MPI communicator
28
28
</TD></TR></TABLE>
56
56
for additional format-specific options.
57
57
<P>
58
58
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
59
 
If PETSC_DECIDE is not used for the arguments 'm' and 'n', then the
 
59
If <A HREF="../Sys/PETSC_DECIDE.html#PETSC_DECIDE">PETSC_DECIDE</A> is not used for the arguments 'm' and 'n', then the
60
60
user must ensure that they are chosen to be compatible with the
61
61
vectors. To do this, one first considers the matrix-vector product
62
62
'y = A x'. The 'm' that is used in the above routine must match the
88
88
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
89
89
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
90
90
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
91
 
<A HREF="../../../src/sles/examples/tutorials/ex1.c.html">src/sles/examples/tutorials/ex1.c.html</A><BR>
92
 
<A HREF="../../../src/sles/examples/tutorials/ex2.c.html">src/sles/examples/tutorials/ex2.c.html</A><BR>
93
 
<A HREF="../../../src/sles/examples/tutorials/ex3.c.html">src/sles/examples/tutorials/ex3.c.html</A><BR>
94
 
<A HREF="../../../src/sles/examples/tutorials/ex4.c.html">src/sles/examples/tutorials/ex4.c.html</A><BR>
95
 
<A HREF="../../../src/sles/examples/tutorials/ex5.c.html">src/sles/examples/tutorials/ex5.c.html</A><BR>
96
 
<A HREF="../../../src/sles/examples/tutorials/ex7.c.html">src/sles/examples/tutorials/ex7.c.html</A><BR>
97
 
<A HREF="../../../src/sles/examples/tutorials/ex8.c.html">src/sles/examples/tutorials/ex8.c.html</A><BR>
98
 
<A HREF="../../../src/sles/examples/tutorials/ex9.c.html">src/sles/examples/tutorials/ex9.c.html</A><BR>
99
 
<A HREF="../../../src/sles/examples/tutorials/ex11.c.html">src/sles/examples/tutorials/ex11.c.html</A><BR>
100
 
<A HREF="../../../src/sles/examples/tutorials/ex12.c.html">src/sles/examples/tutorials/ex12.c.html</A><BR>
101
 
<A HREF="../../../src/sles/examples/tutorials/ex15.c.html">src/sles/examples/tutorials/ex15.c.html</A><BR>
 
91
<A HREF="../../../src/mat/examples/tutorials/ex2.c.html">src/mat/examples/tutorials/ex2.c.html</A><BR>
 
92
<A HREF="../../../src/mat/examples/tutorials/ex3.c.html">src/mat/examples/tutorials/ex3.c.html</A><BR>
 
93
<A HREF="../../../src/ksp/examples/tutorials/ex1.c.html">src/ksp/examples/tutorials/ex1.c.html</A><BR>
 
94
<A HREF="../../../src/ksp/examples/tutorials/ex2.c.html">src/ksp/examples/tutorials/ex2.c.html</A><BR>
 
95
<A HREF="../../../src/ksp/examples/tutorials/ex3.c.html">src/ksp/examples/tutorials/ex3.c.html</A><BR>
 
96
<A HREF="../../../src/ksp/examples/tutorials/ex4.c.html">src/ksp/examples/tutorials/ex4.c.html</A><BR>
 
97
<A HREF="../../../src/ksp/examples/tutorials/ex5.c.html">src/ksp/examples/tutorials/ex5.c.html</A><BR>
 
98
<A HREF="../../../src/ksp/examples/tutorials/ex7.c.html">src/ksp/examples/tutorials/ex7.c.html</A><BR>
 
99
<A HREF="../../../src/ksp/examples/tutorials/ex8.c.html">src/ksp/examples/tutorials/ex8.c.html</A><BR>
 
100
<A HREF="../../../src/ksp/examples/tutorials/ex9.c.html">src/ksp/examples/tutorials/ex9.c.html</A><BR>
 
101
<A HREF="../../../src/ksp/examples/tutorials/ex11.c.html">src/ksp/examples/tutorials/ex11.c.html</A><BR>
102
102
</BODY></HTML>