File: SNESNGMRES.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 (56 lines) | stat: -rw-r--r-- 3,811 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESNGMRES.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>SNESNGMRES</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="SNESNGMRES"><H1>SNESNGMRES</H1></A>
The Nonlinear Generalized Minimum Residual method. 
<P>
<H3><FONT COLOR="#CC3333">Options Database</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_select_type&lt;difference,none,linesearch&gt; </B></TD><TD>- choose the select between candidate and combined solution
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_restart_type&lt;difference,none,periodic&gt; </B></TD><TD>- choose the restart conditions
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_candidate        </B></TD><TD>- Use NGMRES variant which combines candidate solutions instead of actual solutions
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_m                </B></TD><TD>- Number of stored previous solutions and residuals
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_restart_it       </B></TD><TD>- Number of iterations the restart conditions hold before restart
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_gammaA           </B></TD><TD>- Residual tolerance for solution select between the candidate and combination
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_gammaC           </B></TD><TD>- Residual tolerance for restart
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_epsilonB         </B></TD><TD>- Difference tolerance between subsequent solutions triggering restart
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_deltaB           </B></TD><TD>- Difference tolerance between residuals triggering restart
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_ngmres_monitor          </B></TD><TD>- Prints relevant information about the ngmres iteration
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_linesearch_type &lt;basic,l2,cp&gt; </B></TD><TD>- Line search type used for the default smoother
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-additive_snes_linesearch_type </B></TD><TD>- linesearch type used to select between the candidate and combined solution with additive select type
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
<P>
The N-GMRES method combines m previous solutions into a minimum-residual solution by solving a small linearized
optimization problem at each iteration.
<P>
<H3><FONT COLOR="#CC3333">References</FONT></H3>
<P>
"Krylov Subspace Acceleration of Nonlinear Multigrid with Application to Recirculating Flows", C. W. Oosterlee and T. Washio,
SIAM Journal on Scientific Computing, 21(5), 2000.
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
 <A HREF="../SNES/SNESCreate.html#SNESCreate">SNESCreate</A>(), <A HREF="../SNES/SNES.html#SNES">SNES</A>, <A HREF="../SNES/SNESSetType.html#SNESSetType">SNESSetType</A>(), <A HREF="../SNES/SNESType.html#SNESType">SNESType</A> (for list of available types)
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/snes/impls/ngmres/snesngmres.c.html#SNESNGMRES">src/snes/impls/ngmres/snesngmres.c</A>
<BR><A HREF="./index.html">Index of all SNES 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>
</BODY></HTML>