File: SNESFAS.html

package info (click to toggle)
petsc 3.7.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,864 kB
  • ctags: 618,438
  • sloc: ansic: 515,133; python: 29,793; makefile: 20,458; fortran: 18,998; cpp: 6,515; f90: 3,914; sh: 1,012; xml: 621; objc: 445; csh: 240; java: 13
file content (65 lines) | stat: -rw-r--r-- 4,816 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
<!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/SNESFAS.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>SNESFAS</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
   <div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 docs/manualpages/SNES/SNESFAS.html "><small>Report Typos and Errors</small></a></div>
<A NAME="SNESFAS"><H1>SNESFAS</H1></A>
Full Approximation Scheme nonlinear multigrid solver. The nonlinear problem is solved by correction using coarse versions
of the nonlinear problem.  This problem is perturbed so that a projected
solution of the fine problem elicits no correction from the coarse problem.
<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_fas_levels </B></TD><TD>- The number of levels
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_fas_cycles&lt;1&gt; </B></TD><TD>- The number of cycles -- 1 for V, 2 for W
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_fas_type&lt;additive,multiplicative,full,kaskade&gt;  </B></TD><TD>- Additive or multiplicative cycle
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_fas_galerkin&lt;<A HREF="../Sys/PETSC_FALSE.html#PETSC_FALSE">PETSC_FALSE</A>&gt; </B></TD><TD>- Form coarse problems by projection back upon the fine problem
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_fas_smoothup&lt;1&gt; </B></TD><TD>- The number of iterations of the post-smoother
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_fas_smoothdown&lt;1&gt; </B></TD><TD>- The number of iterations of the pre-smoother
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_fas_monitor </B></TD><TD>- Monitor progress of all of the levels
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_fas_full_downsweep&lt;<A HREF="../Sys/PETSC_FALSE.html#PETSC_FALSE">PETSC_FALSE</A>&gt; </B></TD><TD>- call the downsmooth on the initial downsweep of full FAS
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-fas_levels_snes_ </B></TD><TD>- <A HREF="../SNES/SNES.html#SNES">SNES</A> options for all smoothers
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-fas_levels_cycle_snes_ </B></TD><TD>- <A HREF="../SNES/SNES.html#SNES">SNES</A> options for all cycles
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-fas_levels_i_snes_ </B></TD><TD>- <A HREF="../SNES/SNES.html#SNES">SNES</A> options for the smoothers on level i
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-fas_levels_i_cycle_snes_ </B></TD><TD>- <A HREF="../SNES/SNES.html#SNES">SNES</A> options for the cycle on level i
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-fas_coarse_snes_ </B></TD><TD>- <A HREF="../SNES/SNES.html#SNES">SNES</A> options for the coarsest smoother
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
The organization of the FAS solver is slightly different from the organization of <A HREF="../PC/PCMG.html#PCMG">PCMG</A>
As each level has smoother <A HREF="../SNES/SNES.html#SNES">SNES</A> instances(down and potentially up) and a cycle <A HREF="../SNES/SNES.html#SNES">SNES</A> instance.
The cycle <A HREF="../SNES/SNES.html#SNES">SNES</A> instance may be used for monitoring convergence on a particular level.
<P>

<P>
<H3><FONT COLOR="#CC3333">References</FONT></H3>
<DT><B>1. </B> -Peter R. Brune, Matthew G. Knepley, Barry F. Smith, and Xuemin Tu, "Composing Scalable Nonlinear Algebraic Solvers",
SIAM Review, 57(4), 2015
<br>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
 <A HREF="../PC/PCMG.html#PCMG">PCMG</A>, <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/fas/fas.c.html#SNESFAS">src/snes/impls/fas/fas.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>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/snes/examples/tutorials/ex12.c.html">src/snes/examples/tutorials/ex12.c.html</A><BR>
</BODY></HTML>