|
Tpetra Matrix/Vector Services Version of the Day
|
"Raw" reader for debugging a Matrix Market file. More...
#include <MatrixMarket_raw.hpp>
Static Public Member Functions | |
| static bool | readFile (const Comm< int > &comm, const std::string &filename, const bool echo, const bool tolerant, const bool debug=false) |
| Read the sparse matrix from the given file. | |
| static bool | read (const Comm< int > &comm, const RCP< std::istream > &in, const bool echo, const bool tolerant, const bool debug=false) |
| Read the sparse matrix from the given input stream. | |
"Raw" reader for debugging a Matrix Market file.
This class' methods are useful for examining the contents of a Matrix Market file, and checking the integrity of its data. See MatrixMarket_Tpetra.hpp for a Matrix Market reader that constructs a Tpetra::CrsMatrix object.
Definition at line 429 of file MatrixMarket_raw.hpp.
| static bool Tpetra::MatrixMarket::Raw::Reader< Scalar, Ordinal >::readFile | ( | const Comm< int > & | comm, |
| const std::string & | filename, | ||
| const bool | echo, | ||
| const bool | tolerant, | ||
| const bool | debug = false |
||
| ) | [inline, static] |
Read the sparse matrix from the given file.
This is a collective operation. Only Rank 0 opens the file and reads data from it, but all ranks participate and wait for the final result.
Definition at line 442 of file MatrixMarket_raw.hpp.
| static bool Tpetra::MatrixMarket::Raw::Reader< Scalar, Ordinal >::read | ( | const Comm< int > & | comm, |
| const RCP< std::istream > & | in, | ||
| const bool | echo, | ||
| const bool | tolerant, | ||
| const bool | debug = false |
||
| ) | [inline, static] |
Read the sparse matrix from the given input stream.
This is a collective operation. Only Rank 0 reads from the given input stream, but all ranks participate and wait for the final result.
Definition at line 493 of file MatrixMarket_raw.hpp.
1.7.4