mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-24 14:51:50 +00:00
Changes to docs to highlight new stuff in MLD internals.
This commit is contained in:
+88
-76
@@ -1,10 +1,6 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
|
||||
<!--Converted with LaTeX2HTML 2012 (1.2)
|
||||
original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
||||
* with significant contributions from:
|
||||
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
||||
<!--Converted with LaTeX2HTML 2017.2 (Released Jan 23, 2017) -->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>User Interface</TITLE>
|
||||
@@ -13,89 +9,91 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
<META NAME="resource-type" CONTENT="document">
|
||||
<META NAME="distribution" CONTENT="global">
|
||||
|
||||
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
|
||||
<META NAME="Generator" CONTENT="LaTeX2HTML v2017.2">
|
||||
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
||||
|
||||
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
||||
|
||||
<LINK REL="next" HREF="node27.html">
|
||||
<LINK REL="next" HREF="node33.html">
|
||||
<LINK REL="previous" HREF="node16.html">
|
||||
<LINK REL="up" HREF="userhtml.html">
|
||||
<LINK REL="next" HREF="node19.html">
|
||||
</HEAD>
|
||||
|
||||
<BODY >
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html299"
|
||||
|
||||
<DIV CLASS="navigation"><!--Navigation Panel-->
|
||||
<A NAME="tex2html306"
|
||||
HREF="node19.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html295"
|
||||
<A NAME="tex2html302"
|
||||
HREF="userhtml.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html289"
|
||||
<A NAME="tex2html296"
|
||||
HREF="node17.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html297"
|
||||
<A NAME="tex2html304"
|
||||
HREF="node2.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html300"
|
||||
HREF="node19.html">Subroutine init</A>
|
||||
<B> Up:</B> <A NAME="tex2html296"
|
||||
<B> Next:</B> <A NAME="tex2html307"
|
||||
HREF="node19.html">Method init</A>
|
||||
<B> Up:</B> <A NAME="tex2html303"
|
||||
HREF="userhtml.html">userhtml</A>
|
||||
<B> Previous:</B> <A NAME="tex2html290"
|
||||
<B> Previous:</B> <A NAME="tex2html297"
|
||||
HREF="node17.html">Examples</A>
|
||||
<B> <A NAME="tex2html298"
|
||||
<B> <A NAME="tex2html305"
|
||||
HREF="node2.html">Contents</A></B>
|
||||
<BR>
|
||||
<BR>
|
||||
<BR></DIV>
|
||||
<!--End of Navigation Panel-->
|
||||
|
||||
<H1><A NAME="SECTION00080000000000000000"></A><A NAME="sec:userinterface"></A>
|
||||
<BR>
|
||||
User Interface
|
||||
</H1><FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
||||
</H1><BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG>
|
||||
<P>
|
||||
<FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">The basic user interface of MLD2P4 consists of eight routines. The six
|
||||
routines <code>init</code>, <code>set</code>,
|
||||
<code>hierarchy_build</code>, <code>smoothers_build</code>,
|
||||
<code>bld</code>, and <code>apply</code> encapsulate all the
|
||||
functionalities for the setup and the application of any multilevel and one-level
|
||||
preconditioner implemented in the package.
|
||||
The routine <code>free</code> deallocates the preconditioner data structure, while
|
||||
<BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE">The basic user interface of MLD2P4 consists of eight methods. The six
|
||||
methods <code>init</code>, <code>set</code>, <code>build</code>,
|
||||
<code>hierarchy_build</code>, <code>smoothers_build</code> and <code>apply</code>
|
||||
encapsulate all the functionalities for the setup and the application
|
||||
of any multilevel and one-level preconditioner implemented in the
|
||||
package.
|
||||
The method <code>free</code> deallocates the preconditioner data structure, while
|
||||
<code>descr</code> prints a description of the preconditioner setup by the user.
|
||||
</FONT></FONT></FONT>
|
||||
For backward compatibility, methods are also accessible as
|
||||
stand-alone subroutines.
|
||||
</BIG></BIG></BIG>
|
||||
<P>
|
||||
<FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">All the routines are available as methods of the preconditioner object.
|
||||
For each routine, the same user interface is overloaded with
|
||||
<BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE">For each method, the same user interface is overloaded with
|
||||
respect to the real/ complex case and the single/double precision;
|
||||
arguments with appropriate data types must be passed to the routine,
|
||||
arguments with appropriate data types must be passed to the method,
|
||||
i.e.,
|
||||
</FONT></FONT></FONT>
|
||||
</BIG></BIG></BIG>
|
||||
<UL>
|
||||
<LI>the sparse matrix data structure, containing the matrix to be
|
||||
preconditioned, must be of type <code>psb_</code><I>x</I><code>spmat_type</code>
|
||||
with <I>x</I> = <code>s</code> for real single precision, <I>x</I> = <code>d</code>
|
||||
for real double precision, <I>x</I> = <code>c</code> for complex single precision,
|
||||
<I>x</I> = <code>z</code> for complex double precision;
|
||||
preconditioned, must be of type <code>psb_</code><SPAN CLASS="textit">x</SPAN><code>spmat_type</code>
|
||||
with <SPAN CLASS="textit">x</SPAN> = <code>s</code> for real single precision, <SPAN CLASS="textit">x</SPAN> = <code>d</code>
|
||||
for real double precision, <SPAN CLASS="textit">x</SPAN> = <code>c</code> for complex single precision,
|
||||
<SPAN CLASS="textit">x</SPAN> = <code>z</code> for complex double precision;
|
||||
</LI>
|
||||
<LI>the preconditioner data structure must be of type
|
||||
<code>mld_</code><I>x</I><code>prec_type</code>, with <I>x</I> =
|
||||
<code>mld_</code><SPAN CLASS="textit">x</SPAN><code>prec_type</code>, with <SPAN CLASS="textit">x</SPAN> =
|
||||
<code>s</code>, <code>d</code>, <code>c</code>, <code>z</code>, according to the sparse
|
||||
matrix data structure;
|
||||
</LI>
|
||||
<LI>the arrays containing the vectors <IMG
|
||||
<LI>the arrays containing the vectors <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="14" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img72.png"
|
||||
ALT="$v$"> and <IMG
|
||||
ALT="$v$"></SPAN> and <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="17" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img73.png"
|
||||
ALT="$w$"> involved in
|
||||
the preconditioner application <IMG
|
||||
ALT="$w$"></SPAN> involved in
|
||||
the preconditioner application <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="82" HEIGHT="21" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img23.png"
|
||||
ALT="$w=B^{-1}v$"> must be of type
|
||||
<code>psb_</code><I>x</I><code>vect_type</code> with <I>x</I> =
|
||||
ALT="$w=B^{-1}v$"></SPAN> must be of type
|
||||
<code>psb_</code><SPAN CLASS="textit">x</SPAN><code>vect_type</code> with <SPAN CLASS="textit">x</SPAN> =
|
||||
<code>s</code>, <code>d</code>, <code>c</code>, <code>z</code>, in a manner completely
|
||||
analogous to the sparse matrix type;
|
||||
</LI>
|
||||
@@ -103,59 +101,73 @@ i.e.,
|
||||
according to the precision of the sparse matrix and preconditioner
|
||||
data structures (see Section <A HREF="node20.html#sec:precset">6.2</A>).
|
||||
</LI>
|
||||
</UL><FONT SIZE="+1"><FONT SIZE="+1"><FONT SIZE="+1">
|
||||
A description of each routine is given in the remainder of this section.
|
||||
</FONT></FONT></FONT>
|
||||
</UL><BIG CLASS="LARGE"><BIG CLASS="LARGE"><BIG CLASS="LARGE">
|
||||
A description of each method is given in the remainder of this section.
|
||||
</BIG></BIG></BIG>
|
||||
<P>
|
||||
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
||||
<BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG>
|
||||
<P>
|
||||
<FONT SIZE="+1"><FONT SIZE="+1"></FONT></FONT>
|
||||
<BIG CLASS="LARGE"><BIG CLASS="LARGE"></BIG></BIG>
|
||||
<BR><HR>
|
||||
<!--Table of Child-Links-->
|
||||
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
||||
|
||||
<UL>
|
||||
<LI><A NAME="tex2html301"
|
||||
HREF="node19.html">Subroutine init</A>
|
||||
<LI><A NAME="tex2html302"
|
||||
HREF="node20.html">Subroutine set</A>
|
||||
<LI><A NAME="tex2html303"
|
||||
HREF="node21.html">Subroutine build</A>
|
||||
<LI><A NAME="tex2html304"
|
||||
HREF="node22.html">Subroutine hierarchy_build</A>
|
||||
<LI><A NAME="tex2html305"
|
||||
HREF="node23.html">Subroutine smoothers_build</A>
|
||||
<LI><A NAME="tex2html306"
|
||||
HREF="node24.html">Subroutine apply</A>
|
||||
<LI><A NAME="tex2html307"
|
||||
HREF="node25.html">Subroutine free</A>
|
||||
<UL CLASS="ChildLinks">
|
||||
<LI><A NAME="tex2html308"
|
||||
HREF="node26.html">Subroutine descr</A>
|
||||
</UL>
|
||||
HREF="node19.html">Method init</A>
|
||||
<LI><A NAME="tex2html309"
|
||||
HREF="node20.html">Method set</A>
|
||||
<LI><A NAME="tex2html310"
|
||||
HREF="node21.html">Method hierarchy_build</A>
|
||||
<LI><A NAME="tex2html311"
|
||||
HREF="node22.html">Method smoothers_build</A>
|
||||
<LI><A NAME="tex2html312"
|
||||
HREF="node23.html">Method build</A>
|
||||
<LI><A NAME="tex2html313"
|
||||
HREF="node24.html">Method apply</A>
|
||||
<LI><A NAME="tex2html314"
|
||||
HREF="node25.html">Method free</A>
|
||||
<LI><A NAME="tex2html315"
|
||||
HREF="node26.html">Method descr</A>
|
||||
<LI><A NAME="tex2html316"
|
||||
HREF="node27.html">Auxiliary Methods</A>
|
||||
<UL>
|
||||
<LI><A NAME="tex2html317"
|
||||
HREF="node28.html">Method: dump</A>
|
||||
<LI><A NAME="tex2html318"
|
||||
HREF="node29.html">Method: clone</A>
|
||||
<LI><A NAME="tex2html319"
|
||||
HREF="node30.html">Method: sizeof</A>
|
||||
<LI><A NAME="tex2html320"
|
||||
HREF="node31.html">Method: allocate_wrk</A>
|
||||
<LI><A NAME="tex2html321"
|
||||
HREF="node32.html">Method: free_wrk</A>
|
||||
</UL></UL>
|
||||
<!--End of Table of Child-Links-->
|
||||
<HR>
|
||||
|
||||
<DIV CLASS="navigation"><HR>
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html299"
|
||||
<A NAME="tex2html306"
|
||||
HREF="node19.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html295"
|
||||
<A NAME="tex2html302"
|
||||
HREF="userhtml.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html289"
|
||||
<A NAME="tex2html296"
|
||||
HREF="node17.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html297"
|
||||
<A NAME="tex2html304"
|
||||
HREF="node2.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html300"
|
||||
HREF="node19.html">Subroutine init</A>
|
||||
<B> Up:</B> <A NAME="tex2html296"
|
||||
<B> Next:</B> <A NAME="tex2html307"
|
||||
HREF="node19.html">Method init</A>
|
||||
<B> Up:</B> <A NAME="tex2html303"
|
||||
HREF="userhtml.html">userhtml</A>
|
||||
<B> Previous:</B> <A NAME="tex2html290"
|
||||
<B> Previous:</B> <A NAME="tex2html297"
|
||||
HREF="node17.html">Examples</A>
|
||||
<B> <A NAME="tex2html298"
|
||||
HREF="node2.html">Contents</A></B>
|
||||
<B> <A NAME="tex2html305"
|
||||
HREF="node2.html">Contents</A></B> </DIV>
|
||||
<!--End of Navigation Panel-->
|
||||
|
||||
</BODY>
|
||||
|
||||
Reference in New Issue
Block a user