MtxReader0 Class Reference

#include <mtxreader0.h>

Inheritance diagram for MtxReader0:

Inheritance graph
Collaboration diagram for MtxReader0:

Collaboration graph
List of all members.

Public Member Functions

 MtxReader0 (string filename, const Epetra_Comm &Comm)
 MtxReader0 (istream &istr, const Epetra_Comm &Comm)
 ~MtxReader0 ()
Epetra_CrsMatrix * read ()

Detailed Description

Trivial file reader. Each processor reads the whole input stream. Each processor will have approximately the same number of rows. If the matrix is square, it will have identical row, domain and range maps.

Roman Geus

Definition at line 33 of file mtxreader0.h.

Constructor & Destructor Documentation

MtxReader0::MtxReader0 ( string  filename,
const Epetra_Comm &  Comm 
) [inline]

Definition at line 36 of file mtxreader0.h.

MtxReader0::MtxReader0 ( istream &  istr,
const Epetra_Comm &  Comm 
) [inline]

Definition at line 39 of file mtxreader0.h.

MtxReader0::~MtxReader0 (  ) 

Definition at line 24 of file mtxreader0.cpp.

Member Function Documentation

Epetra_CrsMatrix * MtxReader0::read (  )  [virtual]

Return distributed CrsMatrix initialised with MTX data

Implements BaseMtxReader.

Definition at line 26 of file mtxreader0.cpp.

References BaseMtxReader::_comm, BaseMtxReader::_istr, MtxDataIterator::complex, MtxDataIterator::eof(), MtxDataIterator::general, MtxDataIterator::get_cols(), MtxDataIterator::get_element_type(), MtxDataIterator::get_rows(), MtxDataIterator::get_storage_scheme(), and MtxDataIterator::symmetric.

Here is the call graph for this function:

The documentation for this class was generated from the following files:
Generated on Fri Oct 26 13:35:16 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7