mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 14:44:55 +00:00
mld2p4-2:
Further update of documentation.
This commit is contained in:
+29
-5
@@ -59,13 +59,17 @@ Subroutine mld_precset
|
||||
<P>
|
||||
<DIV ALIGN="CENTER">
|
||||
<code>mld_precset(p,what,val,info)</code>
|
||||
<BR><code>mld_precset(p,smoother,info)</code>
|
||||
<BR><code>mld_precset(p,solver,info)</code>
|
||||
<BR>
|
||||
</DIV>
|
||||
|
||||
<P>
|
||||
This routine sets the parameters defining the preconditioner. More
|
||||
precisely, the parameter identified by <code>what</code> is assigned the value
|
||||
contained in <code>val</code>.
|
||||
contained in <code>val</code>. The other two forms of this routine are
|
||||
designed to allow extensions of the library by passing new smoothers
|
||||
and solvers to be employed in the preconditioner.
|
||||
|
||||
<P>
|
||||
<FONT SIZE="+1"><B>Arguments</B></FONT>
|
||||
@@ -100,6 +104,20 @@ contained in <code>val</code>.
|
||||
When the value is of type <code>character(len=*)</code>,
|
||||
it is also treated as case insensitive.</TD>
|
||||
</TR>
|
||||
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><code>smoother</code></TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><code>class(mld_x_base_smoother_type)</code></TD>
|
||||
</TR>
|
||||
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34> </TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340>The user-defined new smoother to be employed in the
|
||||
preconditioner.</TD>
|
||||
</TR>
|
||||
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><code>solver</code></TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><code>class(mld_x_base_solver_type)</code></TD>
|
||||
</TR>
|
||||
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34> </TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340>The user-defined new solver to be employed in the
|
||||
preconditioner.</TD>
|
||||
</TR>
|
||||
<TR><TD ALIGN="LEFT" VALIGN="TOP" WIDTH=34><code>info</code></TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=340><code>integer, intent(out)</code>.</TD>
|
||||
</TR>
|
||||
@@ -130,6 +148,11 @@ A list of the parameters that can be set, along with their allowed and
|
||||
default values, is given in Tables <A HREF="#tab:p_type">2</A>-<A HREF="#tab:p_coarse">5</A>.
|
||||
For a detailed description of the meaning of the parameters, please
|
||||
refer to Section <A HREF="node11.html#sec:background">4</A>.
|
||||
The smoother and solver objects are arranged in a hierarchical manner;
|
||||
when specifying a new smoother object, its parameters including the
|
||||
contained solver are set to default values, and when a new solver
|
||||
object is specified its defaults are also set, overriding in both
|
||||
cases any previous settings even if explicitly specified.
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
@@ -158,7 +181,7 @@ Parameters defining the type of multi-level preconditioner.
|
||||
<TD ALIGN="LEFT"><code>character(len=*)</code></TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=57><TT>'DIAG'</TT> <TT>'BJAC'</TT> <TT>'AS'</TT></TD>
|
||||
<TD ALIGN="LEFT"><TT>'AS'</TT></TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=198>Basic one-level preconditioner (i.e. smoother): diagonal,
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=198>Basic predefined one-level preconditioner (i.e. smoother): diagonal,
|
||||
block Jacobi, AS.</TD>
|
||||
</TR>
|
||||
<TR><TD ALIGN="LEFT"><code>mld_smoother_pos_</code></TD>
|
||||
@@ -221,16 +244,17 @@ Parameters defining the one-level preconditioner used as smoother.
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=91><TT>'ILU'</TT> <TT>'MILU'</TT> <TT>'ILUT'</TT>
|
||||
<TT>'UMF'</TT> <TT>'SLU'</TT></TD>
|
||||
<TD ALIGN="LEFT"><TT>'ILU'</TT></TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=198>Local solver: ILU(<IMG
|
||||
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=198>Predefined local solver: ILU(<IMG
|
||||
WIDTH="13" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img35.png"
|
||||
ALT="$p$">), MILU(<IMG
|
||||
ALT="$p$">),
|
||||
MILU(<IMG
|
||||
WIDTH="13" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img35.png"
|
||||
ALT="$p$">), ILU(<IMG
|
||||
WIDTH="27" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img36.png"
|
||||
ALT="$p,t$">), LU from UMFPACK, LU from SuperLU
|
||||
ALT="$p,t$">), LU from UMFPACK, LU from SuperLU
|
||||
(plus triangular solve).</TD>
|
||||
</TR>
|
||||
<TR><TD ALIGN="LEFT"><code>mld_sub_fillin_</code></TD>
|
||||
|
||||
+1822
-1751
File diff suppressed because it is too large
Load Diff
@@ -73,12 +73,16 @@ according to the preconditioner type chosen by the user.
|
||||
|
||||
\begin{center}
|
||||
\verb|mld_precset(p,what,val,info)|\\
|
||||
\verb|mld_precset(p,smoother,info)|\\
|
||||
\verb|mld_precset(p,solver,info)|\\
|
||||
\end{center}
|
||||
|
||||
\noindent
|
||||
This routine sets the parameters defining the preconditioner. More
|
||||
precisely, the parameter identified by \verb|what| is assigned the value
|
||||
contained in \verb|val|.
|
||||
contained in \verb|val|. The other two forms of this routine are
|
||||
designed to allow extensions of the library by passing new smoothers
|
||||
and solvers to be employed in the preconditioner.
|
||||
|
||||
{\vskip2\baselineskip\noindent\large\bfseries Arguments}
|
||||
|
||||
@@ -99,6 +103,14 @@ contained in \verb|val|.
|
||||
Tables~\ref{tab:p_type}-\ref{tab:p_coarse}.
|
||||
When the value is of type \verb|character(len=*)|,
|
||||
it is also treated as case insensitive.\\
|
||||
\verb|smoother| & \verb|class(mld_x_base_smoother_type)| \\
|
||||
& The user-defined new smoother to be employed in the
|
||||
preconditioner.\\
|
||||
|
||||
\verb|solver| & \verb|class(mld_x_base_solver_type)| \\
|
||||
& The user-defined new solver to be employed in the
|
||||
preconditioner.\\
|
||||
|
||||
\verb|info| & \verb|integer, intent(out)|.\\
|
||||
& Error code. If no error, 0 is returned. See Section~\ref{sec:errors}
|
||||
for details.\\
|
||||
@@ -127,11 +139,12 @@ default values, is given in Tables~\ref{tab:p_type}-\ref{tab:p_coarse}.
|
||||
For a detailed description of the meaning of the parameters, please
|
||||
refer to Section~\ref{sec:background}.
|
||||
%
|
||||
%Note that the routine allows to set different features of the
|
||||
%preconditioner at each level through the use of \verb|ilev|.
|
||||
%This should be done by users with experience in the field of
|
||||
%multi-level preconditioners. Non-expert users are recommended
|
||||
%to call \verb| mld_precset| without specifying \verb|ilev|.
|
||||
The smoother and solver objects are arranged in a hierarchical manner;
|
||||
when specifying a new smoother object, its parameters including the
|
||||
contained solver are set to default values, and when a new solver
|
||||
object is specified its defaults are also set, overriding in both
|
||||
cases any previous settings even if explicitly specified.
|
||||
%
|
||||
|
||||
\bsideways
|
||||
\begin{center}
|
||||
@@ -148,7 +161,7 @@ refer to Section~\ref{sec:background}.
|
||||
\verb|mld_smoother_type_|& \verb|character(len=*)|
|
||||
& \texttt{'DIAG'} \ \ \ \texttt{'BJAC'} \ \ \ \texttt{'AS'}
|
||||
& \texttt{'AS'}
|
||||
& Basic one-level preconditioner (i.e.\ smoother): diagonal,
|
||||
& Basic predefined one-level preconditioner (i.e.\ smoother): diagonal,
|
||||
block Jacobi, AS. \\ \hline
|
||||
\verb|mld_smoother_pos_| & \verb|character(len=*)|
|
||||
& \texttt{'PRE'} \ \ \ \texttt{'POST'} \ \ \ \texttt{'TWOSIDE'}
|
||||
@@ -189,7 +202,8 @@ refer to Section~\ref{sec:background}.
|
||||
& \texttt{'ILU'} \hspace{2.5cm} \texttt{'MILU'} \hspace{2.5cm} \texttt{'ILUT'}
|
||||
\hspace{2.5cm} \texttt{'UMF'} \hspace{2.5cm} \texttt{'SLU'}
|
||||
& \texttt{'ILU'}
|
||||
& Local solver: ILU($p$), MILU($p$), ILU($p,t$), LU from UMFPACK, LU from SuperLU
|
||||
& Predefined local solver: ILU($p$),
|
||||
MILU($p$), ILU($p,t$), LU from UMFPACK, LU from SuperLU
|
||||
(plus triangular solve). \\ \hline
|
||||
\verb|mld_sub_fillin_| & \verb|integer|
|
||||
& Any~int.~num.~$\ge 0$
|
||||
|
||||
Reference in New Issue
Block a user