MtxReader Class Reference

#include <mtxreader.h>

Inheritance diagram for MtxReader:

Inheritance graph
[legend]
Collaboration diagram for MtxReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MtxReader (string filename, const Epetra_Map &row_map, const Epetra_Map &domain_map, const Epetra_Map &range_map)
 MtxReader (istream &istr, const Epetra_Map &row_map, const Epetra_Map &domain_map, const Epetra_Map &range_map)
 ~MtxReader ()
Epetra_CrsMatrix * read ()

Private Attributes

const Epetra_Map & _row_map
const Epetra_Map & _domain_map
const Epetra_Map & _range_map

Detailed Description

Trivial MatrixMarket file reader

Author:
Roman Geus

Definition at line 32 of file mtxreader.h.


Constructor & Destructor Documentation

MtxReader::MtxReader ( string  filename,
const Epetra_Map &  row_map,
const Epetra_Map &  domain_map,
const Epetra_Map &  range_map 
)

Definition at line 24 of file mtxreader.cpp.

MtxReader::MtxReader ( istream &  istr,
const Epetra_Map &  row_map,
const Epetra_Map &  domain_map,
const Epetra_Map &  range_map 
)

Definition at line 31 of file mtxreader.cpp.

MtxReader::~MtxReader (  ) 

Definition at line 38 of file mtxreader.cpp.


Member Function Documentation

Epetra_CrsMatrix * MtxReader::read (  )  [virtual]

Return distributed CrsMatrix initialised with MTX data

Implements BaseMtxReader.

Definition at line 40 of file mtxreader.cpp.

References _domain_map, BaseMtxReader::_istr, _range_map, _row_map, MtxDataIterator::complex, MtxDataIterator::eof(), MtxDataIterator::general, MtxDataIterator::get_element_type(), MtxDataIterator::get_storage_scheme(), and MtxDataIterator::symmetric.

Here is the call graph for this function:


Member Data Documentation

const Epetra_Map& MtxReader::_domain_map [private]

Definition at line 48 of file mtxreader.h.

Referenced by read().

const Epetra_Map& MtxReader::_range_map [private]

Definition at line 49 of file mtxreader.h.

Referenced by read().

const Epetra_Map& MtxReader::_row_map [private]

Definition at line 47 of file mtxreader.h.

Referenced by read().


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