File: PCSHELL.html

package info (click to toggle)
petsc 2.2.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 64,404 kB
  • ctags: 284,528
  • sloc: ansic: 223,999; python: 11,758; makefile: 7,707; fortran: 6,327; cpp: 4,104; sh: 3,387; csh: 41; asm: 6
file content (48 lines) | stat: -rw-r--r-- 2,798 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PCSHELL</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="PCSHELL"><H1>PCSHELL</H1></A>
Creates a new preconditioner class for use with your  own private data storage format. 
<P>
<P>
<H3><FONT COLOR="#CC3333">Usage</FONT></H3>
<pre>
            int (*mult)(void *,<A HREF="../Vec/Vec.html#Vec">Vec</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>);
</pre>
<pre>
            int (*setup)(void *);
</pre>
<pre>
            <A HREF="../PC/PCCreate.html#PCCreate">PCCreate</A>(<A HREF="../Sys/comm.html#comm">comm</A>,&amp;pc);
</pre>
<pre>
            <A HREF="../PC/PCSetType.html#PCSetType">PCSetType</A>(pc,<A HREF="../PC/PCSHELL.html#PCSHELL">PCSHELL</A>);
</pre>
<pre>
            <A HREF="../PC/PCShellSetApply.html#PCShellSetApply">PCShellSetApply</A>(pc,mult,ctx);
</pre>
<pre>
            <A HREF="../PC/PCShellSetSetUp.html#PCShellSetSetUp">PCShellSetSetUp</A>(pc,setup);       (optional)
</pre>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
  <A HREF="../PC/PCCreate.html#PCCreate">PCCreate</A>(), <A HREF="../PC/PCSetType.html#PCSetType">PCSetType</A>(), <A HREF="../PC/PCType.html#PCType">PCType</A> (for list of available types), <A HREF="../PC/PC.html#PC">PC</A>,
<BR>KSPSHELL(), <A HREF="../Mat/MATSHELL.html#MATSHELL">MATSHELL</A>(), PCShellSetUp(), <A HREF="../PC/PCShellSetApply.html#PCShellSetApply">PCShellSetApply</A>(), <A HREF="../PC/PCShellSetView.html#PCShellSetView">PCShellSetView</A>(),
PCShellSetApplyTranpose(), <A HREF="../PC/PCShellSetName.html#PCShellSetName">PCShellSetName</A>(), <A HREF="../PC/PCShellSetApplyRichardson.html#PCShellSetApplyRichardson">PCShellSetApplyRichardson</A>(),
<A HREF="../PC/PCShellGetName.html#PCShellGetName">PCShellGetName</A>()
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/ksp/pc/impls/shell/shellpc.c.html#PCSHELL">src/ksp/pc/impls/shell/shellpc.c</A>
<BR><A HREF="./index.html">Index of all PC routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/ksp/examples/tutorials/ex15.c.html">src/ksp/examples/tutorials/ex15.c.html</A><BR>
<A HREF="../../../src/ksp/examples/tutorials/ex15f.F.html">src/ksp/examples/tutorials/ex15f.F.html</A><BR>
<A HREF="../../../src/ksp/examples/tutorials/ex21f.F.html">src/ksp/examples/tutorials/ex21f.F.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex6.c.html">src/snes/examples/tutorials/ex6.c.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex24.c.html">src/snes/examples/tutorials/ex24.c.html</A><BR>
</BODY></HTML>