mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 22:55:12 +00:00
mld2p4-2:
docs/html/index.html docs/html/node17.html docs/html/node2.html docs/html/node23.html docs/html/node24.html docs/html/node25.html docs/html/node28.html docs/html/userhtml.html docs/mld2p4-2.1-guide.pdf docs/src/userinterface.tex mlprec/impl/mld_ccprecset.F90 mlprec/impl/mld_cprecset.F90 mlprec/impl/mld_dcprecset.F90 mlprec/impl/mld_dprecset.F90 mlprec/impl/mld_scprecset.F90 mlprec/impl/mld_sprecset.F90 mlprec/impl/mld_zcprecset.F90 mlprec/impl/mld_zprecset.F90 ALign precset to cprecset Improve SM and SV set to user's guide
This commit is contained in:
@@ -136,7 +136,7 @@ Feb. 28, 2017
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html48"
|
||||
HREF="node24.html">Adding smoothers and solvers to MLD2P4</A>
|
||||
HREF="node24.html">Adding new smoothers and solvers to MLD2P4</A>
|
||||
<LI><A NAME="tex2html49"
|
||||
HREF="node25.html">Error Handling</A>
|
||||
<LI><A NAME="tex2html50"
|
||||
|
||||
@@ -241,7 +241,7 @@ solver is changed to the default sequential solver.
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="962"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="963"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 2:</STRONG>
|
||||
Parameters defining the multi-level cycle and the number of cycles to
|
||||
@@ -294,7 +294,7 @@ number <IMG
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="967"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="968"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 3:</STRONG>
|
||||
Parameters defining the aggregation algorithm.
|
||||
@@ -409,7 +409,7 @@ of levels.</TD>
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="971"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="972"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 4:</STRONG>
|
||||
Parameters defining the aggregation algorithm (continued).
|
||||
@@ -547,7 +547,7 @@ the parameter <TT>ilev</TT>.</TD>
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="976"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="977"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 5:</STRONG>
|
||||
Parameters defining the coarse-space correction at the coarsest
|
||||
@@ -655,7 +655,7 @@ Note that <TT>UMF</TT> and <TT>SLU</TT> require the coarsest
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="978"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="979"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 6:</STRONG>
|
||||
Parameters defining the coarse-space correction at the coarsest
|
||||
@@ -721,7 +721,7 @@ number <IMG
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="980"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="981"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 7:</STRONG>
|
||||
Parameters defining the smoother or the details of the one-level preconditioner.
|
||||
@@ -844,7 +844,7 @@ Parameters defining the smoother or the details of the one-level preconditioner.
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="982"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="983"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 8:</STRONG>
|
||||
Parameters defining the smoother or the details of the one-level preconditioner
|
||||
|
||||
@@ -108,7 +108,7 @@ Contents</A>
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html96"
|
||||
HREF="node24.html">Adding smoothers and solvers to MLD2P4</A>
|
||||
HREF="node24.html">Adding new smoothers and solvers to MLD2P4</A>
|
||||
<LI><A NAME="tex2html97"
|
||||
HREF="node25.html">Error Handling</A>
|
||||
<LI><A NAME="tex2html98"
|
||||
|
||||
@@ -39,7 +39,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html358"
|
||||
HREF="node24.html">Adding smoothers and solvers</A>
|
||||
HREF="node24.html">Adding new smoothers and</A>
|
||||
<B> Up:</B> <A NAME="tex2html354"
|
||||
HREF="node15.html">User Interface</A>
|
||||
<B> Previous:</B> <A NAME="tex2html350"
|
||||
|
||||
+39
-23
@@ -7,8 +7,8 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Adding smoothers and solvers to MLD2P4</TITLE>
|
||||
<META NAME="description" CONTENT="Adding smoothers and solvers to MLD2P4">
|
||||
<TITLE>Adding new smoothers and solvers to MLD2P4</TITLE>
|
||||
<META NAME="description" CONTENT="Adding new smoothers and solvers to MLD2P4">
|
||||
<META NAME="keywords" CONTENT="userhtml">
|
||||
<META NAME="resource-type" CONTENT="document">
|
||||
<META NAME="distribution" CONTENT="global">
|
||||
@@ -53,37 +53,53 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
|
||||
<H1><A NAME="SECTION00090000000000000000"></A><A NAME="sec:adding"></A>
|
||||
<BR>
|
||||
Adding smoothers and solvers to MLD2P4
|
||||
Adding new smoothers and solvers to MLD2P4
|
||||
</H1>
|
||||
|
||||
<P>
|
||||
<B>Da ampliare e completare - SALVATORE.</B>
|
||||
<BR>
|
||||
<P>
|
||||
Completely new smoother and/or solver classes derived from the
|
||||
base objects in the library may be used without recompiling the
|
||||
library itself. Once the new smoother/solver class has been
|
||||
developed, the user can declare a variable of that new type in the
|
||||
application, and pass that variable to the <code>p%set(solver,info)</code>
|
||||
call; the new solver object is then dynamically included in the
|
||||
preconditioner structure.
|
||||
Developers can add completely new smoother and/or solver classes
|
||||
derived from the base objects in the library may be used without
|
||||
recompiling the library itself. To do so it is necessary first to
|
||||
select the base type to be extended; in our experience, it is quite
|
||||
likely that the new application needs only require the definition of a
|
||||
``solver'' object, which is almost always acting only on the local
|
||||
part of the distributed matrix. The parallel actions required to
|
||||
connect the various solver objects are most often already provided by
|
||||
the Block Jacobi or the Additive Schwarz smoothers.
|
||||
To define a new solver, the developer will then have to define its
|
||||
components and methods, perhaps taking one of the predefined solvers
|
||||
as a starting point if possible.
|
||||
|
||||
<P>
|
||||
|
||||
<BR>
|
||||
<P>
|
||||
If the user has developed a new type of smoother and/or
|
||||
solver by extending one of the base MLD2P4 types, and has declared a
|
||||
variable of the new type in the main program, it is possible to pass
|
||||
the new smoother/solver variable to the setup routine as follows:
|
||||
Once the new smoother/solver class has been developed, to use it in
|
||||
the context of the multilevel preconditioners it is necessary to:
|
||||
|
||||
<UL>
|
||||
<LI>Declare in the application program a variable of the new type;
|
||||
</LI>
|
||||
<LI>Pass that variable as the argument to the se routine as in the
|
||||
following:
|
||||
<DIV ALIGN="CENTER">
|
||||
<code>call p%set(smoother,info [,ilev, ilmax,pos])</code>
|
||||
<BR><code>call p%set(solver,info [,ilev, ilmax,pos])</code>
|
||||
|
||||
</DIV>
|
||||
In this way, the variable will act as a <I>mold</I> to which the
|
||||
preconditioner will conform, even though the MLD2P4 library is not
|
||||
modified, and thus has no direct knowledge about the new type.
|
||||
</LI>
|
||||
<LI>Link into the application executable the code implementing the
|
||||
various methods.
|
||||
</LI>
|
||||
</UL>
|
||||
The new solver object is then dynamically included in the
|
||||
preconditioner structure, and will act as a <I>mold</I> to which the
|
||||
preconditioner will conform, even though the MLD2P4 library has not
|
||||
been modified to account for this new development.
|
||||
|
||||
<P>
|
||||
It is possible to define new values for the keyword <code>WHAT</code> in the
|
||||
<code>set</code> routines; if the library code does not recognize a keyword,
|
||||
it passes it down the composition hierarchy (levels containing
|
||||
smoothers containing solvers), so that it can be eventually caught by
|
||||
the new solver.
|
||||
|
||||
<P>
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
<B> Up:</B> <A NAME="tex2html378"
|
||||
HREF="userhtml.html">userhtml</A>
|
||||
<B> Previous:</B> <A NAME="tex2html372"
|
||||
HREF="node24.html">Adding smoothers and solvers</A>
|
||||
HREF="node24.html">Adding new smoothers and</A>
|
||||
<B> <A NAME="tex2html380"
|
||||
HREF="node2.html">Contents</A></B>
|
||||
<BR>
|
||||
|
||||
@@ -63,7 +63,7 @@ Mathematics Department, Macquarie University, Sydney.
|
||||
The command line arguments were: <BR>
|
||||
<STRONG>latex2html</STRONG> <TT>-local_icons -noaddress -dir ../../html userhtml.tex</TT>
|
||||
<P>
|
||||
The translation was initiated by Salvatore Filippone on 2017-04-21
|
||||
The translation was initiated by Salvatore Filippone on 2017-04-24
|
||||
<BR><HR>
|
||||
|
||||
</BODY>
|
||||
|
||||
@@ -136,7 +136,7 @@ Feb. 28, 2017
|
||||
</UL>
|
||||
<BR>
|
||||
<LI><A NAME="tex2html48"
|
||||
HREF="node24.html">Adding smoothers and solvers to MLD2P4</A>
|
||||
HREF="node24.html">Adding new smoothers and solvers to MLD2P4</A>
|
||||
<LI><A NAME="tex2html49"
|
||||
HREF="node25.html">Error Handling</A>
|
||||
<LI><A NAME="tex2html50"
|
||||
|
||||
Reference in New Issue
Block a user