mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-06 22:55:08 +00:00
Enable VECT objects in MMIO read/write.
This commit is contained in:
@@ -66,9 +66,16 @@ class="description">Rigth hand side(s).<br
|
||||
class="newline" />Type: <span
|
||||
class="cmbx-10">required </span><br
|
||||
class="newline" />An array of type real or complex, rank 1 or 2 and having the
|
||||
ALLOCATABLE attribute; will be allocated and filled in if the input file
|
||||
contains a right hand side, otherwise will be left in the UNALLOCATED
|
||||
state.
|
||||
ALLOCATABLE attribute, or an object of type <a
|
||||
href="userhtmlsu7.html#vdata"><span
|
||||
class="cmtt-10">psb</span><span
|
||||
class="cmtt-10">_T</span><span
|
||||
class="cmtt-10">_vect</span><span
|
||||
class="cmtt-10">_type</span></a>, of
|
||||
type real or complex.<br
|
||||
class="newline" />Will be allocated and filled in if the input file contains a right hand side,
|
||||
otherwise will be left in the UNALLOCATED state. <br
|
||||
class="newline" />
|
||||
</dd><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">iret</span> </dt><dd
|
||||
@@ -82,12 +89,12 @@ class="newline" />An integer value; 0 means no error has been detected.</dd></dl
|
||||
|
||||
|
||||
|
||||
<!--l. 173--><div class="crosslinks"><p class="noindent">[<a
|
||||
<!--l. 175--><div class="crosslinks"><p class="noindent">[<a
|
||||
href="userhtmlsu84.html" >next</a>] [<a
|
||||
href="userhtmlsu80.html" >prev</a>] [<a
|
||||
href="userhtmlsu80.html#tailuserhtmlsu80.html" >prev-tail</a>] [<a
|
||||
href="userhtmlsu81.html" >front</a>] [<a
|
||||
href="userhtmlsu80.html#userhtmlse10.html" >up</a>] </p></div>
|
||||
<!--l. 173--><p class="indent" > <a
|
||||
<!--l. 175--><p class="indent" > <a
|
||||
id="tailuserhtmlsu81.html"></a>
|
||||
</body></html>
|
||||
|
||||
@@ -11,7 +11,7 @@ format</title>
|
||||
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
||||
</head><body
|
||||
>
|
||||
<!--l. 174--><div class="crosslinks"><p class="noindent">[<a
|
||||
<!--l. 176--><div class="crosslinks"><p class="noindent">[<a
|
||||
href="userhtmlsu85.html" >next</a>] [<a
|
||||
href="userhtmlsu81.html" >prev</a>] [<a
|
||||
href="userhtmlsu81.html#tailuserhtmlsu81.html" >prev-tail</a>] [<a
|
||||
@@ -20,13 +20,13 @@ href="userhtmlsu80.html#userhtmlsu84.html" >up</a>] </p></div>
|
||||
<h4 class="subsectionHead"><span class="titlemark">9.5 </span> <a
|
||||
id="x96-1330009.5"></a>mm_mat_write — Write a sparse matrix to a file in the MatrixMarket
|
||||
format</h4>
|
||||
<!--l. 177-->
|
||||
<!--l. 179-->
|
||||
<div class="lstlisting" id="listing-18"><span class="label"><a
|
||||
id="x96-133001r1"></a></span><span
|
||||
class="cmbx-10">call</span> mm_mat_write(a, mtitle, iret, iunit, filename)
|
||||
|
||||
</div>
|
||||
<!--l. 180--><p class="indent" >
|
||||
<!--l. 182--><p class="indent" >
|
||||
<dl class="description"><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">Type:</span> </dt><dd
|
||||
@@ -73,7 +73,7 @@ class="newline" />Type:<span
|
||||
class="cmbx-10">optional</span>.<br
|
||||
class="newline" />Specified as: an integer value. Only meaningful if filename is not <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">-</span></span></span>.</dd></dl>
|
||||
<!--l. 200--><p class="indent" >
|
||||
<!--l. 202--><p class="indent" >
|
||||
<dl class="description"><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">On Return</span> </dt><dd
|
||||
@@ -94,12 +94,12 @@ class="newline" />An integer value; 0 means no error has been detected.</dd></dl
|
||||
|
||||
|
||||
|
||||
<!--l. 208--><div class="crosslinks"><p class="noindent">[<a
|
||||
<!--l. 210--><div class="crosslinks"><p class="noindent">[<a
|
||||
href="userhtmlsu85.html" >next</a>] [<a
|
||||
href="userhtmlsu81.html" >prev</a>] [<a
|
||||
href="userhtmlsu81.html#tailuserhtmlsu81.html" >prev-tail</a>] [<a
|
||||
href="userhtmlsu82.html" >front</a>] [<a
|
||||
href="userhtmlsu80.html#userhtmlsu84.html" >up</a>] </p></div>
|
||||
<!--l. 208--><p class="indent" > <a
|
||||
<!--l. 210--><p class="indent" > <a
|
||||
id="tailuserhtmlsu82.html"></a>
|
||||
</body></html>
|
||||
|
||||
@@ -11,7 +11,7 @@ format</title>
|
||||
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
||||
</head><body
|
||||
>
|
||||
<!--l. 209--><div class="crosslinks"><p class="noindent">[<a
|
||||
<!--l. 211--><div class="crosslinks"><p class="noindent">[<a
|
||||
href="userhtmlsu82.html" >prev</a>] [<a
|
||||
href="userhtmlsu82.html#tailuserhtmlsu82.html" >prev-tail</a>] [<a
|
||||
href="userhtmlsu80.html#tailuserhtmlsu83.html">tail</a>] [<a
|
||||
@@ -19,13 +19,13 @@ href="userhtmlsu80.html#userhtmlsu85.html" >up</a>] </p></div>
|
||||
<h4 class="subsectionHead"><span class="titlemark">9.6 </span> <a
|
||||
id="x97-1340009.6"></a>mm_array_write — Write a dense array from a file in the MatrixMarket
|
||||
format</h4>
|
||||
<!--l. 211-->
|
||||
<!--l. 213-->
|
||||
<div class="lstlisting" id="listing-19"><span class="label"><a
|
||||
id="x97-134001r1"></a></span><span
|
||||
class="cmbx-10">call</span> mm_array_write(b, iret, iunit, filename)
|
||||
class="cmbx-10">call</span> mm_array_write(b, vtitle, iret, iunit, filename)
|
||||
|
||||
</div>
|
||||
<!--l. 215--><p class="indent" >
|
||||
<!--l. 217--><p class="indent" >
|
||||
<dl class="description"><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">Type:</span> </dt><dd
|
||||
@@ -40,12 +40,28 @@ class="cmbx-10">b</span> </dt><dd
|
||||
class="description">Rigth hand side(s).<br
|
||||
class="newline" />Type: <span
|
||||
class="cmbx-10">required </span><br
|
||||
class="newline" />An array of type real or complex, rank 1 or 2; will be written.. 
|
||||
class="newline" />An array of type real or complex, rank 1 or 2, or an object of type
|
||||
<a
|
||||
href="userhtmlsu7.html#vdata"><span
|
||||
class="cmtt-10">psb</span><span
|
||||
class="cmtt-10">_T</span><span
|
||||
class="cmtt-10">_vect</span><span
|
||||
class="cmtt-10">_type</span></a>, of type real or complex; its contents will be written to
|
||||
disk.<br
|
||||
class="newline" />
|
||||
</dd><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">filename</span> </dt><dd
|
||||
class="description">The name of the file to be written.<br
|
||||
class="newline" />Type:<span
|
||||
class="newline" />
|
||||
</dd><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">vtitle</span> </dt><dd
|
||||
class="description">Matrix title.<br
|
||||
class="newline" />Type: <span
|
||||
class="cmbx-10">required </span><br
|
||||
class="newline" />A charachter variable holding a descriptive title for the vector to be written
|
||||
to file. Type:<span
|
||||
class="cmbx-10">optional</span>.<br
|
||||
class="newline" />Specified as: a character variable containing a valid file name, or <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">-</span></span></span>, in
|
||||
@@ -60,11 +76,14 @@ class="newline" />Type:<span
|
||||
class="cmbx-10">optional</span>.<br
|
||||
class="newline" />Specified as: an integer value. Only meaningful if filename is not <span class="obeylines-h"><span class="verb"><span
|
||||
class="cmtt-10">-</span></span></span>.</dd></dl>
|
||||
<!--l. 231--><p class="indent" >
|
||||
<!--l. 239--><p class="indent" >
|
||||
<dl class="description"><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">On Return</span> </dt><dd
|
||||
class="description">
|
||||
|
||||
|
||||
|
||||
</dd><dt class="description">
|
||||
<span
|
||||
class="cmbx-10">iret</span> </dt><dd
|
||||
|
||||
@@ -349,10 +349,6 @@ class="newline" />An integer value; 0 means no error has been detected.</dd></dl
|
||||
|
||||
|
||||
|
||||
<!--l. 110--><p class="indent" >
|
||||
|
||||
|
||||
|
||||
<!--l. 2--><div class="crosslinks"><p class="noindent">[<a
|
||||
href="userhtmlsu90.html" >front</a>] [<a
|
||||
href="# " >up</a>] </p></div>
|
||||
|
||||
+1249
-1178
File diff suppressed because it is too large
Load Diff
+12
-4
@@ -161,8 +161,10 @@ Specified as: an integer value. Only meaningful if filename is not \verb|-|.
|
||||
\item[b] Rigth hand side(s).\\
|
||||
Type: {\bf required} \\
|
||||
An array of type real or complex, rank 1 or 2 and having the ALLOCATABLE
|
||||
attribute; will be allocated and filled in if the input file contains
|
||||
a right hand side, otherwise will be left in the UNALLOCATED state.
|
||||
attribute, or an
|
||||
object of type \vdata, of type real or complex.\\
|
||||
Will be allocated and filled in if the input file contains
|
||||
a right hand side, otherwise will be left in the UNALLOCATED state. \\
|
||||
\item[iret] Error code.\\
|
||||
Type: {\bf required} \\
|
||||
An integer value; 0 means no error has been detected.
|
||||
@@ -209,7 +211,7 @@ An integer value; 0 means no error has been detected.
|
||||
file in the MatrixMarket format}
|
||||
|
||||
\begin{lstlisting}
|
||||
call mm_array_write(b, iret, iunit, filename)
|
||||
call mm_array_write(b, vtitle, iret, iunit, filename)
|
||||
\end{lstlisting}
|
||||
|
||||
\begin{description}
|
||||
@@ -217,8 +219,14 @@ call mm_array_write(b, iret, iunit, filename)
|
||||
\item[\bf On Entry ]
|
||||
\item[b] Rigth hand side(s).\\
|
||||
Type: {\bf required} \\
|
||||
An array of type real or complex, rank 1 or 2; will be written..\
|
||||
An array of type real or complex, rank 1 or 2, or an
|
||||
object of type \vdata, of type real or complex; its contents will be
|
||||
written to disk.\\
|
||||
\item[filename] The name of the file to be written.\\
|
||||
\item[vtitle] Matrix title.\\
|
||||
Type: {\bf required} \\
|
||||
A charachter variable holding a descriptive title for the vector to be
|
||||
written to file.
|
||||
Type:{\bf optional}.\\
|
||||
Specified as: a character variable containing a valid file name, or
|
||||
\verb|-|, in which case the default input unit 5 (i.e. standard input
|
||||
|
||||
Reference in New Issue
Block a user