Doc fixes from Pasqua.

This commit is contained in:
Salvatore Filippone
2017-07-20 20:21:20 +01:00
parent d45c198b48
commit 1ab5e95bf7
4 changed files with 1024 additions and 1041 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ Examples showing the basic use of MLD2P4 are reported in Section&nbsp;<A HREF="n
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="517"></A>
<DIV ALIGN="CENTER"><A NAME="516"></A>
<TABLE>
<CAPTION><STRONG>Table 1:</STRONG>
Preconditioner types, corresponding strings and default choices.
+11 -15
View File
@@ -89,7 +89,7 @@ the corresponding codes are available in <code>examples/fileread/</code>.
<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>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 2:</STRONG>
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
among the processes.
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
implemented in MUMPS. It is specified that the coarsest-level
matrix is distributed, since MUMPS can be used on both
replicated and distributed matrices, and by default
it is used on replicated ones. Note the use of the parameter <code>pos</code>
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
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
included in the example program file <code>mld_dexample_ml.f90</code> too.
<P>
@@ -198,7 +195,7 @@ boundary conditions are also available in the directory <code>examples/pdegen</c
<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>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 3:</STRONG>
setup of a multi-level preconditioner</CAPTION>
@@ -231,7 +228,7 @@ setup of a multi-level preconditioner</CAPTION>
<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>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 4:</STRONG>
setup of a multi-level preconditioner</CAPTION>
@@ -241,14 +238,13 @@ setup of a multi-level preconditioner</CAPTION>
<TR><TD>
<PRE>
... ...
! build a W-cycle preconditioner with 2 Gauss-Seidel sweeps as
! pre- and post-smoother, a distributed coarsest
! build a W-cycle preconditioner with 2 hybrid Gauss-Seidel sweeps
! as pre- and post-smoother, a distributed coarsest
! matrix, and MUMPS as coarsest-level solver
call P%init('ML',info)
call P%set('ML_TYPE','WCYCLE',info)
call P%set('SMOOTHER_TYPE','GS',info)
call P%set('SMOOTHER_SWEEPS',2,info,pos='PRE')
call P%set('SMOOTHER_SWEEPS',2,info,pos='POST')
call P%set('ML_CYCLE','WCYCLE',info)
call P%set('SMOOTHER_TYPE','FBGS',info)
call P%set('SMOOTHER_SWEEPS',2,info)
call P%set('COARSE_SOLVE','MUMPS',info)
call P%set('COARSE_MAT','DIST',info)
call P%hierarchy_build(A,desc_A,info)
@@ -265,7 +261,7 @@ setup of a multi-level preconditioner</CAPTION>
<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>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5:</STRONG>
setup of a one-level Schwarz preconditioner.</CAPTION>
+7 -7
View File
@@ -240,7 +240,7 @@ solver is changed to the default sequential solver.
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="950"></A>
<DIV ALIGN="CENTER"><A NAME="949"></A>
<TABLE>
<CAPTION><STRONG>Table 2:</STRONG>
Parameters defining the multi-level cycle and the number of cycles to
@@ -293,7 +293,7 @@ number <IMG
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="955"></A>
<DIV ALIGN="CENTER"><A NAME="954"></A>
<TABLE>
<CAPTION><STRONG>Table 3:</STRONG>
Parameters defining the aggregation algorithm.
@@ -408,7 +408,7 @@ of levels.</TD>
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="959"></A>
<DIV ALIGN="CENTER"><A NAME="958"></A>
<TABLE>
<CAPTION><STRONG>Table 4:</STRONG>
Parameters defining the aggregation algorithm (continued).
@@ -475,7 +475,7 @@ the parameter <TT>ilev</TT>.</TD>
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="964"></A>
<DIV ALIGN="CENTER"><A NAME="963"></A>
<TABLE>
<CAPTION><STRONG>Table 5:</STRONG>
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>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="966"></A>
<DIV ALIGN="CENTER"><A NAME="965"></A>
<TABLE>
<CAPTION><STRONG>Table 6:</STRONG>
Parameters defining the coarse-space correction at the coarsest
@@ -649,7 +649,7 @@ number <IMG
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="968"></A>
<DIV ALIGN="CENTER"><A NAME="967"></A>
<TABLE>
<CAPTION><STRONG>Table 7:</STRONG>
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>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="970"></A>
<DIV ALIGN="CENTER"><A NAME="969"></A>
<TABLE>
<CAPTION><STRONG>Table 8:</STRONG>
Parameters defining the smoother or the details of the one-level preconditioner
+1005 -1018
View File
File diff suppressed because it is too large Load Diff