You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
171 lines
4.7 KiB
HTML
171 lines
4.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//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 -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>hb_write -- Write a sparse matrix to a file in the Harwell-Boeing format</TITLE>
|
|
<META NAME="description" CONTENT="hb_write -- Write a sparse matrix to a file in the Harwell-Boeing format">
|
|
<META NAME="keywords" CONTENT="userhtml">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
|
|
|
<LINK REL="next" HREF="node119.html">
|
|
<LINK REL="previous" HREF="node117.html">
|
|
<LINK REL="up" HREF="node116.html">
|
|
<LINK REL="next" HREF="node119.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html1731"
|
|
HREF="node119.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
<A NAME="tex2html1727"
|
|
HREF="node116.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
<A NAME="tex2html1721"
|
|
HREF="node117.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
<A NAME="tex2html1729"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html1732"
|
|
HREF="node119.html">mm_mat_read Read</A>
|
|
<B> Up:</B> <A NAME="tex2html1728"
|
|
HREF="node116.html">Utilities</A>
|
|
<B> Previous:</B> <A NAME="tex2html1722"
|
|
HREF="node117.html">hb_read Read</A>
|
|
<B> <A NAME="tex2html1730"
|
|
HREF="node1.html">Contents</A></B>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H2><A NAME="SECTION000102000000000000000">
|
|
hb_write -- Write a sparse matrix to a file
|
|
in the Harwell-Boeing format</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<BR>
|
|
<IMG
|
|
WIDTH="539" HEIGHT="16" ALIGN="BOTTOM" BORDER="0"
|
|
SRC="img149.png"
|
|
ALT="\begin{lstlisting}
|
|
call hb_write(a, iret, iunit, filename, key, rhs, mtitle)
|
|
\end{lstlisting}">
|
|
<BR>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><STRONG>Type:</STRONG></DT>
|
|
<DD>Asynchronous.
|
|
</DD>
|
|
<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_Tspmat_type</TT>.
|
|
</DD>
|
|
<DT><STRONG>b</STRONG></DT>
|
|
<DD>Rigth hand side.
|
|
<BR>
|
|
Type: <B>Optional</B>
|
|
<BR>
|
|
An array of type real or complex, rank 1 and having the ALLOCATABLE
|
|
attribute; will be allocated and filled in if the input file contains
|
|
a right hand side.
|
|
</DD>
|
|
<DT><STRONG>filename</STRONG></DT>
|
|
<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 output unit 6 (i.e. standard output
|
|
in Unix jargon) is used. Default: <code>-</code>.
|
|
</DD>
|
|
<DT><STRONG>iunit</STRONG></DT>
|
|
<DD>The Fortran file unit number.
|
|
<BR>
|
|
Type:<B>optional</B>.
|
|
<BR>
|
|
Specified as: an integer value. Only meaningful if filename is not <code>-</code>.
|
|
</DD>
|
|
<DT><STRONG>key</STRONG></DT>
|
|
<DD>Matrix key.
|
|
<BR>
|
|
Type: <B>Optional</B>
|
|
<BR>
|
|
A charachter variable of length 8 holding the
|
|
matrix key as specified by the Harwell-Boeing format and to be
|
|
written to file.
|
|
</DD>
|
|
<DT><STRONG>mtitle</STRONG></DT>
|
|
<DD>Matrix title.
|
|
<BR>
|
|
Type: <B>Optional</B>
|
|
<BR>
|
|
A charachter variable of length 72 holding the
|
|
matrix title as specified by the Harwell-Boeing format and to be
|
|
written to file.
|
|
</DD>
|
|
</DL>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><STRONG><B>On Return</B></STRONG></DT>
|
|
<DD>
|
|
</DD>
|
|
<DT><STRONG>iret</STRONG></DT>
|
|
<DD>Error code.
|
|
<BR>
|
|
Type: <B>required</B>
|
|
<BR>
|
|
An integer value; 0 means no error has been detected.
|
|
</DD>
|
|
</DL>
|
|
|
|
<P>
|
|
<HR>
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html1731"
|
|
HREF="node119.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
<A NAME="tex2html1727"
|
|
HREF="node116.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
<A NAME="tex2html1721"
|
|
HREF="node117.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
<A NAME="tex2html1729"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html1732"
|
|
HREF="node119.html">mm_mat_read Read</A>
|
|
<B> Up:</B> <A NAME="tex2html1728"
|
|
HREF="node116.html">Utilities</A>
|
|
<B> Previous:</B> <A NAME="tex2html1722"
|
|
HREF="node117.html">hb_read Read</A>
|
|
<B> <A NAME="tex2html1730"
|
|
HREF="node1.html">Contents</A></B>
|
|
<!--End of Navigation Panel-->
|
|
|
|
</BODY>
|
|
</HTML>
|