mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-07 07:04:57 +00:00
psblas3:
Fixes to user's guide.
This commit is contained in:
+41
-47
@@ -62,25 +62,25 @@ This subroutine computes the Triangular System Solve:
|
||||
<DIV ALIGN="CENTER">
|
||||
<!-- MATH
|
||||
\begin{eqnarray*}
|
||||
y &\leftarrow& \alpha P_r T^{-1} P_c x + \beta y\\
|
||||
y &\leftarrow& \alpha D P_r T^{-1} P_c x + \beta y\\
|
||||
y &\leftarrow& \alpha P_r T^{-1} P_c D x + \beta y\\
|
||||
y &\leftarrow& \alpha P_r T^{-T} P_c x + \beta y\\
|
||||
y &\leftarrow& \alpha D P_r T^{-T} P_c x + \beta y\\
|
||||
y &\leftarrow& \alpha P_r T^{-T} P_c D x + \beta y\\
|
||||
y &\leftarrow& \alpha P_r T^{-H} P_c x + \beta y\\
|
||||
y &\leftarrow& \alpha D P_r T^{-H} P_c x + \beta y\\
|
||||
y &\leftarrow& \alpha P_r T^{-H} P_c D x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-1} x + \beta y\\
|
||||
y &\leftarrow& \alpha D T^{-1} x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-1} D x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-T} x + \beta y\\
|
||||
y &\leftarrow& \alpha D T^{-T} x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-T} D x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-H} x + \beta y\\
|
||||
y &\leftarrow& \alpha D T^{-H} x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-H} D x + \beta y\\
|
||||
\end{eqnarray*}
|
||||
-->
|
||||
<IMG
|
||||
WIDTH="193" HEIGHT="239" BORDER="0"
|
||||
SRC="img55.png"
|
||||
WIDTH="160" HEIGHT="239" BORDER="0"
|
||||
SRC="img54.png"
|
||||
ALT="\begin{eqnarray*}
|
||||
y &\leftarrow& \alpha P_r T^{-1} P_c x + \beta y\\
|
||||
y &\leftar...
|
||||
...\beta y\\
|
||||
y &\leftarrow& \alpha P_r T^{-H} P_c D x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-1} x + \beta y\\
|
||||
y &\leftarrow& \al...
|
||||
...-H} x + \beta y\\
|
||||
y &\leftarrow& \alpha T^{-H} D x + \beta y\\
|
||||
\end{eqnarray*}"></DIV>
|
||||
<BR CLEAR="ALL"><P></P>
|
||||
|
||||
@@ -88,10 +88,10 @@ y &\leftarrow& \alpha P_r T^{-H} P_c D x + \beta y\\
|
||||
where:
|
||||
<DL>
|
||||
<DT><STRONG><IMG
|
||||
WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img25.png"
|
||||
ALT="$x$"></STRONG></DT>
|
||||
<DD>is the global dense submatrix <IMG
|
||||
<DD>is the global dense matrix <IMG
|
||||
WIDTH="25" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img51.png"
|
||||
ALT="$x_{:, :}$">
|
||||
@@ -100,32 +100,26 @@ where:
|
||||
WIDTH="12" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img26.png"
|
||||
ALT="$y$"></STRONG></DT>
|
||||
<DD>is the global dense submatrix <IMG
|
||||
<DD>is the global dense matrix <IMG
|
||||
WIDTH="23" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img52.png"
|
||||
ALT="$y_{:, :}$">
|
||||
</DD>
|
||||
<DT><STRONG><IMG
|
||||
WIDTH="15" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img56.png"
|
||||
SRC="img55.png"
|
||||
ALT="$T$"></STRONG></DT>
|
||||
<DD>is the global sparse block triangular submatrix <IMG
|
||||
WIDTH="15" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img56.png"
|
||||
SRC="img55.png"
|
||||
ALT="$T$">
|
||||
</DD>
|
||||
<DT><STRONG><IMG
|
||||
WIDTH="18" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img57.png"
|
||||
SRC="img56.png"
|
||||
ALT="$D$"></STRONG></DT>
|
||||
<DD>is the scaling diagonal matrix.
|
||||
</DD>
|
||||
<DT><STRONG><IMG
|
||||
WIDTH="45" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img53.png"
|
||||
ALT="$P_r, P_c$"></STRONG></DT>
|
||||
<DD>are the permutation matrices.
|
||||
</DD>
|
||||
</DL>
|
||||
|
||||
<P>
|
||||
@@ -137,7 +131,7 @@ call psb_spsm(alpha, t, x, beta, y, desc_a, info,&
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="1527"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="1544"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 12:</STRONG>
|
||||
Data types</CAPTION>
|
||||
@@ -146,18 +140,18 @@ Data types</CAPTION>
|
||||
<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
|
||||
<TR><TD ALIGN="LEFT"><IMG
|
||||
WIDTH="15" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img56.png"
|
||||
SRC="img55.png"
|
||||
ALT="$T$">, <IMG
|
||||
WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img25.png"
|
||||
ALT="$x$">, <IMG
|
||||
WIDTH="12" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img26.png"
|
||||
ALT="$y$">, <IMG
|
||||
WIDTH="18" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img57.png"
|
||||
SRC="img56.png"
|
||||
ALT="$D$">, <IMG
|
||||
WIDTH="15" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img27.png"
|
||||
ALT="$\alpha$">, <IMG
|
||||
WIDTH="13" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
@@ -194,7 +188,7 @@ Data types</CAPTION>
|
||||
</DD>
|
||||
<DT><STRONG>alpha</STRONG></DT>
|
||||
<DD>the scalar <IMG
|
||||
WIDTH="15" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img27.png"
|
||||
ALT="$\alpha$">.
|
||||
<BR>
|
||||
@@ -211,7 +205,7 @@ Table <A HREF="#tab:f90spsm">12</A>.
|
||||
<DD>the global portion of the sparse matrix
|
||||
<IMG
|
||||
WIDTH="15" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img56.png"
|
||||
SRC="img55.png"
|
||||
ALT="$T$">.
|
||||
<BR>
|
||||
Scope: <B>local</B>
|
||||
@@ -220,13 +214,13 @@ Type: <B>required</B>
|
||||
<BR>
|
||||
Intent: <B>in</B>.
|
||||
<BR>
|
||||
Specified as: a structured data type specified in
|
||||
Specified as: an object type specified in
|
||||
§ <A HREF="node8.html#sec:datastruct">3</A>.
|
||||
</DD>
|
||||
<DT><STRONG>x</STRONG></DT>
|
||||
<DD>the local portion of global dense matrix
|
||||
<IMG
|
||||
WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img25.png"
|
||||
ALT="$x$">.
|
||||
|
||||
@@ -237,10 +231,10 @@ Type: <B>required</B>
|
||||
<BR>
|
||||
Intent: <B>in</B>.
|
||||
<BR>
|
||||
Specified as: a rank one or two array
|
||||
Specified as: a rank one or two array or an object of type vdata<TT>psb_T_vect_type</TT>
|
||||
containing numbers of type specified in
|
||||
Table <A HREF="#tab:f90spsm">12</A>. The rank of <IMG
|
||||
WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img25.png"
|
||||
ALT="$x$"> must be the same of <IMG
|
||||
WIDTH="12" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
@@ -275,13 +269,13 @@ Type: <B>required</B>
|
||||
<BR>
|
||||
Intent: <B>inout</B>.
|
||||
<BR>
|
||||
Specified as: a rank one or two array
|
||||
Specified as: a rank one or two array or an object of type vdata<TT>psb_T_vect_type</TT>
|
||||
containing numbers of type specified in
|
||||
Table <A HREF="#tab:f90spsm">12</A>. The rank of <IMG
|
||||
WIDTH="12" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img26.png"
|
||||
ALT="$y$"> must be the same of <IMG
|
||||
WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img25.png"
|
||||
ALT="$x$">.
|
||||
</DD>
|
||||
@@ -294,7 +288,7 @@ Type: <B>required</B>
|
||||
<BR>
|
||||
Intent: <B>in</B>.
|
||||
<BR>
|
||||
Specified as: a structured data of type descdata<TT>psb_desc_type</TT>.
|
||||
Specified as: an object of type descdata<TT>psb_desc_type</TT>.
|
||||
</DD>
|
||||
<DT><STRONG>trans</STRONG></DT>
|
||||
<DD>specify with <EM>unitd</EM> the operation to perform.
|
||||
@@ -316,8 +310,8 @@ Type: <B>optional</B>
|
||||
Intent: <B>in</B>.
|
||||
<BR>
|
||||
Default: <IMG
|
||||
WIDTH="78" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img54.png"
|
||||
WIDTH="78" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img53.png"
|
||||
ALT="$trans = N$">
|
||||
<BR>
|
||||
Specified as: a character variable.
|
||||
@@ -342,8 +336,8 @@ Type: <B>optional</B>
|
||||
Intent: <B>in</B>.
|
||||
<BR>
|
||||
Default: <IMG
|
||||
WIDTH="76" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img58.png"
|
||||
WIDTH="76" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img57.png"
|
||||
ALT="$unitd = U$">
|
||||
<BR>
|
||||
Specified as: a character variable.
|
||||
@@ -389,7 +383,7 @@ Default: <!-- MATH
|
||||
-->
|
||||
<IMG
|
||||
WIDTH="165" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
|
||||
SRC="img59.png"
|
||||
SRC="img58.png"
|
||||
ALT="$diag(1) = 1 (no scaling)$">
|
||||
<BR>
|
||||
Specified as: a rank one array containing numbers of the type
|
||||
@@ -405,7 +399,7 @@ Type: <B>optional</B>
|
||||
Intent: <B>inout</B>.
|
||||
<BR>
|
||||
Specified as: a rank one array of the same type of <IMG
|
||||
WIDTH="14" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img25.png"
|
||||
ALT="$x$"> with the
|
||||
TARGET attribute.
|
||||
|
||||
Reference in New Issue
Block a user