mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-17 03:12:15 +00:00
psblas2:
config/pac.m4 configure docs/pdf/util.tex docs/userguide.pdf test/fileread/cf_sample.f90 test/fileread/df_sample.f90 test/fileread/getp.f90 test/fileread/runs/cfs.inp test/fileread/runs/dfs.inp test/fileread/runs/sfs.inp test/fileread/runs/zfs.inp test/fileread/sf_sample.f90 test/fileread/zf_sample.f90 util/Makefile util/psb_hbio_mod.f90 util/psb_mmio_mod.f90 util/psb_read_mat_mod.f90 util/psb_util_mod.f90 Fixed I/O for fileread samples.
This commit is contained in:
+31
-3
@@ -31,11 +31,11 @@ Specified as: an integer value. Only meaningful if filename is not \verb|-|.
|
||||
\item[a] the sparse matrix read from file.\\
|
||||
Type:{\bf required}.\\
|
||||
Specified as: a structured data of type \spdata.
|
||||
\item[b] Rigth hand side.\\
|
||||
\item[b] Rigth hand side(s).\\
|
||||
Type: {\bf Optional} \\
|
||||
An array of type real or complex, rank 1 and having the ALLOCATABLE
|
||||
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.
|
||||
a right hand side, otherwise will be left in the UNALLOCATED state.
|
||||
\item[mtitle] Matrix title.\\
|
||||
Type: {\bf Optional} \\
|
||||
A charachter variable of length 72 holding a copy of the
|
||||
@@ -122,6 +122,34 @@ Type: {\bf required} \\
|
||||
An integer value; 0 means no error has been detected.
|
||||
\end{description}
|
||||
|
||||
\subroutine{mm\_vet\_read}{Read a dense vector from a file in the MatrixMarket format}
|
||||
\syntax{call mm\_vet\_read}{b, iret, iunit, filename}
|
||||
|
||||
\begin{description}
|
||||
\item[Type:] Asynchronous.
|
||||
\item[\bf On Entry ]
|
||||
\item[filename] The name of the file to be read.\\
|
||||
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
|
||||
in Unix jargon) is used. Default: \verb|-|.
|
||||
\item[iunit] The Fortran file unit number.\\
|
||||
Type:{\bf optional}.\\
|
||||
Specified as: an integer value. Only meaningful if filename is not \verb|-|.
|
||||
\end{description}
|
||||
|
||||
\begin{description}
|
||||
\item[\bf On Return]
|
||||
\item[b] Rigth hand side(s).\\
|
||||
Type: {\bf required} \\
|
||||
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.
|
||||
\item[iret] Error code.\\
|
||||
Type: {\bf required} \\
|
||||
An integer value; 0 means no error has been detected.
|
||||
\end{description}
|
||||
|
||||
|
||||
|
||||
\subroutine{mm\_mat\_write}{Write a sparse matrix to a file in the MatrixMarket format}
|
||||
|
||||
+17377
-32356
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user