File: PCSHELL.html

package info (click to toggle)
petsc 3.4.2.dfsg1-8.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 129,104 kB
  • ctags: 516,422
  • sloc: ansic: 395,939; cpp: 47,201; python: 34,788; makefile: 17,193; fortran: 16,251; f90: 1,592; objc: 954; sh: 822; xml: 621; java: 381; lisp: 293; csh: 241
file content (71 lines) | stat: -rw-r--r-- 4,679 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCSHELL.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PCSHELL</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="PCSHELL"><H1>PCSHELL</H1></A>
Creates a new preconditioner class for use with your own private data storage format. 
&gt;
<P>
<H3><FONT COLOR="#CC3333">Usage</FONT></H3>
<pre>
            extern <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> apply(<A HREF="../PC/PC.html#PC">PC</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>);
</pre>
<pre>
            extern <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> applyba(<A HREF="../PC/PC.html#PC">PC</A>,<A HREF="../PC/PCSide.html#PCSide">PCSide</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>);
</pre>
<pre>
            extern <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> applytranspose(<A HREF="../PC/PC.html#PC">PC</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>,<A HREF="../Vec/Vec.html#Vec">Vec</A>);
</pre>
<pre>
            extern <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> setup(<A HREF="../PC/PC.html#PC">PC</A>);
</pre>
<pre>
            extern <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> destroy(<A HREF="../PC/PC.html#PC">PC</A>);
</pre>
<pre>
</pre>
<pre>
            <A HREF="../PC/PCCreate.html#PCCreate">PCCreate</A>(comm,&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/PCShellSetContext.html#PCShellSetContext">PCShellSetContext</A>(pc,ctx)
</pre>
<pre>
            <A HREF="../PC/PCShellSetApply.html#PCShellSetApply">PCShellSetApply</A>(pc,apply);
</pre>
<pre>
            <A HREF="../PC/PCShellSetApplyBA.html#PCShellSetApplyBA">PCShellSetApplyBA</A>(pc,applyba);               (optional)
</pre>
<pre>
            <A HREF="../PC/PCShellSetApplyTranspose.html#PCShellSetApplyTranspose">PCShellSetApplyTranspose</A>(pc,applytranspose); (optional)
</pre>
<pre>
            <A HREF="../PC/PCShellSetSetUp.html#PCShellSetSetUp">PCShellSetSetUp</A>(pc,setup);                   (optional)
</pre>
<pre>
            <A HREF="../PC/PCShellSetDestroy.html#PCShellSetDestroy">PCShellSetDestroy</A>(pc,destroy);               (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><A HREF="../Mat/MATSHELL.html#MATSHELL">MATSHELL</A>, <A HREF="../PC/PCShellSetSetUp.html#PCShellSetSetUp">PCShellSetSetUp</A>(), <A HREF="../PC/PCShellSetApply.html#PCShellSetApply">PCShellSetApply</A>(), <A HREF="../PC/PCShellSetView.html#PCShellSetView">PCShellSetView</A>(),
<A HREF="../PC/PCShellSetApplyTranspose.html#PCShellSetApplyTranspose">PCShellSetApplyTranspose</A>(), <A HREF="../PC/PCShellSetName.html#PCShellSetName">PCShellSetName</A>(), <A HREF="../PC/PCShellSetApplyRichardson.html#PCShellSetApplyRichardson">PCShellSetApplyRichardson</A>(),
<A HREF="../PC/PCShellGetName.html#PCShellGetName">PCShellGetName</A>(), <A HREF="../PC/PCShellSetContext.html#PCShellSetContext">PCShellSetContext</A>(), <A HREF="../PC/PCShellGetContext.html#PCShellGetContext">PCShellGetContext</A>(), <A HREF="../PC/PCShellSetApplyBA.html#PCShellSetApplyBA">PCShellSetApplyBA</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/ksp/examples/tutorials/ex15.c.html">src/ksp/ksp/examples/tutorials/ex15.c.html</A><BR>
<A HREF="../../../src/ksp/ksp/examples/tutorials/ex15f.F.html">src/ksp/ksp/examples/tutorials/ex15f.F.html</A><BR>
<A HREF="../../../src/ksp/ksp/examples/tutorials/ex21f.F.html">src/ksp/ksp/examples/tutorials/ex21f.F.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex3.c.html">src/snes/examples/tutorials/ex3.c.html</A><BR>
</BODY></HTML>