Doc fixes from Pasqua.

stopcriterion
Salvatore Filippone 8 years ago
parent d45c198b48
commit 1ab5e95bf7

@ -122,7 +122,7 @@ Examples showing the basic use of MLD2P4 are reported in Section&nbsp;<A HREF="n
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="517"></A> <DIV ALIGN="CENTER"><A NAME="516"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 1:</STRONG> <CAPTION><STRONG>Table 1:</STRONG>
Preconditioner types, corresponding strings and default choices. Preconditioner types, corresponding strings and default choices.

@ -89,7 +89,7 @@ the corresponding codes are available in <code>examples/fileread/</code>.
<P> <P>
<DIV ALIGN="CENTER"><A NAME="fig:ex1"></A><A NAME="520"></A> <DIV ALIGN="CENTER"><A NAME="fig:ex1"></A><A NAME="519"></A>
<TABLE> <TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 2:</STRONG> <CAPTION ALIGN="BOTTOM"><STRONG>Figure 2:</STRONG>
setup and application of the default multi-level preconditioner (example 1). setup and application of the default multi-level preconditioner (example 1).
@ -172,15 +172,12 @@ Furthermore, specifying block-Jacobi as coarsest-level
solver implies that the coarsest-level matrix is distributed solver implies that the coarsest-level matrix is distributed
among the processes. among the processes.
Figure&nbsp;<A HREF="#fig:ex3">4</A> shows how to set a W-cycle preconditioner which Figure&nbsp;<A HREF="#fig:ex3">4</A> shows how to set a W-cycle preconditioner which
applies 2 Gauss-Seidel sweeps as pre- and post-smoother, applies 2 hybrid Gauss-Seidel sweeps as pre- and post-smoother,
and solves the coarsest-level system with the multifrontal LU factorization and solves the coarsest-level system with the multifrontal LU factorization
implemented in MUMPS. It is specified that the coarsest-level implemented in MUMPS. It is specified that the coarsest-level
matrix is distributed, since MUMPS can be used on both matrix is distributed, since MUMPS can be used on both
replicated and distributed matrices, and by default replicated and distributed matrices, and by default
it is used on replicated ones. Note the use of the parameter <code>pos</code> it is used on replicated ones. The code fragments shown in Figures&nbsp;<A HREF="#fig:ex2">3</A> and <A HREF="#fig:ex3">4</A> are
to specify a property only for the pre-smoother or the post-smoother
(see Section&nbsp;<A HREF="node17.html#sec:precset">6.2</A> for more details).
The code fragments shown in Figures&nbsp;<A HREF="#fig:ex2">3</A> and <A HREF="#fig:ex3">4</A> are
included in the example program file <code>mld_dexample_ml.f90</code> too. included in the example program file <code>mld_dexample_ml.f90</code> too.
<P> <P>
@ -198,7 +195,7 @@ boundary conditions are also available in the directory <code>examples/pdegen</c
<P> <P>
<DIV ALIGN="CENTER"><A NAME="fig:ex2"></A><A NAME="522"></A> <DIV ALIGN="CENTER"><A NAME="fig:ex2"></A><A NAME="521"></A>
<TABLE> <TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 3:</STRONG> <CAPTION ALIGN="BOTTOM"><STRONG>Figure 3:</STRONG>
setup of a multi-level preconditioner</CAPTION> setup of a multi-level preconditioner</CAPTION>
@ -231,7 +228,7 @@ setup of a multi-level preconditioner</CAPTION>
<P> <P>
<DIV ALIGN="CENTER"><A NAME="fig:ex3"></A><A NAME="524"></A> <DIV ALIGN="CENTER"><A NAME="fig:ex3"></A><A NAME="523"></A>
<TABLE> <TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 4:</STRONG> <CAPTION ALIGN="BOTTOM"><STRONG>Figure 4:</STRONG>
setup of a multi-level preconditioner</CAPTION> setup of a multi-level preconditioner</CAPTION>
@ -241,14 +238,13 @@ setup of a multi-level preconditioner</CAPTION>
<TR><TD> <TR><TD>
<PRE> <PRE>
... ... ... ...
! build a W-cycle preconditioner with 2 Gauss-Seidel sweeps as ! build a W-cycle preconditioner with 2 hybrid Gauss-Seidel sweeps
! pre- and post-smoother, a distributed coarsest ! as pre- and post-smoother, a distributed coarsest
! matrix, and MUMPS as coarsest-level solver ! matrix, and MUMPS as coarsest-level solver
call P%init('ML',info) call P%init('ML',info)
call P%set('ML_TYPE','WCYCLE',info) call P%set('ML_CYCLE','WCYCLE',info)
call P%set('SMOOTHER_TYPE','GS',info) call P%set('SMOOTHER_TYPE','FBGS',info)
call P%set('SMOOTHER_SWEEPS',2,info,pos='PRE') call P%set('SMOOTHER_SWEEPS',2,info)
call P%set('SMOOTHER_SWEEPS',2,info,pos='POST')
call P%set('COARSE_SOLVE','MUMPS',info) call P%set('COARSE_SOLVE','MUMPS',info)
call P%set('COARSE_MAT','DIST',info) call P%set('COARSE_MAT','DIST',info)
call P%hierarchy_build(A,desc_A,info) call P%hierarchy_build(A,desc_A,info)
@ -265,7 +261,7 @@ setup of a multi-level preconditioner</CAPTION>
<P> <P>
<DIV ALIGN="CENTER"><A NAME="fig:ex4"></A><A NAME="526"></A> <DIV ALIGN="CENTER"><A NAME="fig:ex4"></A><A NAME="525"></A>
<TABLE> <TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5:</STRONG> <CAPTION ALIGN="BOTTOM"><STRONG>Figure 5:</STRONG>
setup of a one-level Schwarz preconditioner.</CAPTION> setup of a one-level Schwarz preconditioner.</CAPTION>

@ -240,7 +240,7 @@ solver is changed to the default sequential solver.
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="950"></A> <DIV ALIGN="CENTER"><A NAME="949"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 2:</STRONG> <CAPTION><STRONG>Table 2:</STRONG>
Parameters defining the multi-level cycle and the number of cycles to Parameters defining the multi-level cycle and the number of cycles to
@ -293,7 +293,7 @@ number <IMG
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="955"></A> <DIV ALIGN="CENTER"><A NAME="954"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 3:</STRONG> <CAPTION><STRONG>Table 3:</STRONG>
Parameters defining the aggregation algorithm. Parameters defining the aggregation algorithm.
@ -408,7 +408,7 @@ of levels.</TD>
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="959"></A> <DIV ALIGN="CENTER"><A NAME="958"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 4:</STRONG> <CAPTION><STRONG>Table 4:</STRONG>
Parameters defining the aggregation algorithm (continued). Parameters defining the aggregation algorithm (continued).
@ -475,7 +475,7 @@ the parameter <TT>ilev</TT>.</TD>
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="964"></A> <DIV ALIGN="CENTER"><A NAME="963"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 5:</STRONG> <CAPTION><STRONG>Table 5:</STRONG>
Parameters defining the coarse-space correction at the coarsest Parameters defining the coarse-space correction at the coarsest
@ -583,7 +583,7 @@ Note that <TT>UMF</TT> and <TT>SLU</TT> require the coarsest
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="966"></A> <DIV ALIGN="CENTER"><A NAME="965"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 6:</STRONG> <CAPTION><STRONG>Table 6:</STRONG>
Parameters defining the coarse-space correction at the coarsest Parameters defining the coarse-space correction at the coarsest
@ -649,7 +649,7 @@ number <IMG
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="968"></A> <DIV ALIGN="CENTER"><A NAME="967"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 7:</STRONG> <CAPTION><STRONG>Table 7:</STRONG>
Parameters defining the smoother or the details of the one-level preconditioner. Parameters defining the smoother or the details of the one-level preconditioner.
@ -772,7 +772,7 @@ Parameters defining the smoother or the details of the one-level preconditioner.
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="970"></A> <DIV ALIGN="CENTER"><A NAME="969"></A>
<TABLE> <TABLE>
<CAPTION><STRONG>Table 8:</STRONG> <CAPTION><STRONG>Table 8:</STRONG>
Parameters defining the smoother or the details of the one-level preconditioner Parameters defining the smoother or the details of the one-level preconditioner

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save