mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-13 09:29:04 +00:00
psblas3:
Documentation changes. We have barely begun.....
This commit is contained in:
+35
-32
@@ -7,8 +7,8 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>mm_vet_read -- Read a dense vector from a file in the MatrixMarket format</TITLE>
|
||||
<META NAME="description" CONTENT="mm_vet_read -- Read a dense vector from a file in the MatrixMarket format">
|
||||
<TITLE>mm_mat_write -- Write a sparse matrix to a file in the MatrixMarket format</TITLE>
|
||||
<META NAME="description" CONTENT="mm_mat_write -- Write a sparse matrix to a file in the MatrixMarket format">
|
||||
<META NAME="keywords" CONTENT="userhtml">
|
||||
<META NAME="resource-type" CONTENT="document">
|
||||
<META NAME="distribution" CONTENT="global">
|
||||
@@ -18,49 +18,46 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
|
||||
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
||||
|
||||
<LINK REL="next" HREF="node100.html">
|
||||
<LINK REL="previous" HREF="node98.html">
|
||||
<LINK REL="up" HREF="node95.html">
|
||||
<LINK REL="up" HREF="node94.html">
|
||||
<LINK REL="next" HREF="node100.html">
|
||||
</HEAD>
|
||||
|
||||
<BODY >
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html1426"
|
||||
<A NAME="tex2html1422"
|
||||
HREF="node100.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html1422"
|
||||
HREF="node95.html">
|
||||
<A NAME="tex2html1418"
|
||||
HREF="node94.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html1416"
|
||||
<A NAME="tex2html1414"
|
||||
HREF="node98.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html1424"
|
||||
<A NAME="tex2html1420"
|
||||
HREF="node1.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html1427"
|
||||
HREF="node100.html">mm_mat_write Write</A>
|
||||
<B> Up:</B> <A NAME="tex2html1423"
|
||||
HREF="node95.html">Utilities</A>
|
||||
<B> Previous:</B> <A NAME="tex2html1417"
|
||||
HREF="node98.html">mm_mat_read Read</A>
|
||||
<B> <A NAME="tex2html1425"
|
||||
<B> Next:</B> <A NAME="tex2html1423"
|
||||
HREF="node100.html">Preconditioner routines</A>
|
||||
<B> Up:</B> <A NAME="tex2html1419"
|
||||
HREF="node94.html">Utilities</A>
|
||||
<B> Previous:</B> <A NAME="tex2html1415"
|
||||
HREF="node98.html">mm_vet_read Read</A>
|
||||
<B> <A NAME="tex2html1421"
|
||||
HREF="node1.html">Contents</A></B>
|
||||
<BR>
|
||||
<BR>
|
||||
<!--End of Navigation Panel-->
|
||||
|
||||
<H2><A NAME="SECTION000104000000000000000">
|
||||
mm_vet_read -- Read a dense vector from a
|
||||
<H2><A NAME="SECTION000105000000000000000">
|
||||
mm_mat_write -- Write a sparse matrix to a
|
||||
file in the MatrixMarket format</A>
|
||||
</H2>
|
||||
|
||||
<PRE>
|
||||
call mm_vet_read(b, iret, iunit, filename)
|
||||
call mm_mat_write(a, mtitle, iret, iunit, filename)
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><STRONG>Type:</STRONG></DT>
|
||||
<DD>Asynchronous.
|
||||
@@ -68,13 +65,28 @@ call mm_vet_read(b, iret, iunit, filename)
|
||||
<DT><STRONG><B>On Entry </B></STRONG></DT>
|
||||
<DD>
|
||||
</DD>
|
||||
<DT><STRONG>a</STRONG></DT>
|
||||
<DD>the sparse matrix to be written.
|
||||
<BR>
|
||||
Type:<B>required</B>.
|
||||
<BR>
|
||||
Specified as: a structured data of type spdata<TT>psb_spmat_type</TT>.
|
||||
</DD>
|
||||
<DT><STRONG>mtitle</STRONG></DT>
|
||||
<DD>Matrix title.
|
||||
<BR>
|
||||
Type: <B>required</B>
|
||||
<BR>
|
||||
A charachter variable holding a descriptive title for the matrix to be
|
||||
written to file.
|
||||
</DD>
|
||||
<DT><STRONG>filename</STRONG></DT>
|
||||
<DD>The name of the file to be read.
|
||||
<DD>The name of the file to be written to.
|
||||
<BR>
|
||||
Type:<B>optional</B>.
|
||||
<BR>
|
||||
Specified as: a character variable containing a valid file name, or
|
||||
<code>-</code>, in which case the default input unit 5 (i.e. standard input
|
||||
<code>-</code>, in which case the default output unit 6 (i.e. standard output
|
||||
in Unix jargon) is used. Default: <code>-</code>.
|
||||
</DD>
|
||||
<DT><STRONG>iunit</STRONG></DT>
|
||||
@@ -91,15 +103,6 @@ Specified as: an integer value. Only meaningful if filename is not <code>-</code
|
||||
<DT><STRONG><B>On Return</B></STRONG></DT>
|
||||
<DD>
|
||||
</DD>
|
||||
<DT><STRONG>b</STRONG></DT>
|
||||
<DD>Rigth hand side(s).
|
||||
<BR>
|
||||
Type: <B>required</B>
|
||||
<BR>
|
||||
An array of type real or complex, rank 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.
|
||||
</DD>
|
||||
<DT><STRONG>iret</STRONG></DT>
|
||||
<DD>Error code.
|
||||
<BR>
|
||||
|
||||
Reference in New Issue
Block a user