BaseMtxReader Class Reference

#include <basemtxreader.h>

Inheritance diagram for BaseMtxReader:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BaseMtxReader (string filename, const Epetra_Comm &Comm)
 BaseMtxReader (istream &istr, const Epetra_Comm &Comm)
virtual ~BaseMtxReader ()
virtual Epetra_CrsMatrix * read ()=0

Protected Attributes

istream * _istr
bool _own_istr
const Epetra_Comm & _comm

Detailed Description

Base class for all MatrixMarket reader classes
Author:
Roman Geus

Definition at line 29 of file basemtxreader.h.


Constructor & Destructor Documentation

BaseMtxReader::BaseMtxReader ( string  filename,
const Epetra_Comm &  Comm 
)

Definition at line 23 of file basemtxreader.cpp.

References _istr, and _own_istr.

BaseMtxReader::BaseMtxReader ( istream &  istr,
const Epetra_Comm &  Comm 
)

Definition at line 30 of file basemtxreader.cpp.

References _istr, and _own_istr.

BaseMtxReader::~BaseMtxReader (  )  [virtual]

Definition at line 36 of file basemtxreader.cpp.

References _istr, and _own_istr.


Member Function Documentation

virtual Epetra_CrsMatrix* BaseMtxReader::read (  )  [pure virtual]

Implemented in BalancedMtxReader, MtxReader, and MtxReader0.

Referenced by main().


Member Data Documentation

const Epetra_Comm& BaseMtxReader::_comm [protected]

Communicator used parallel i/o and distributed storage

Definition at line 46 of file basemtxreader.h.

Referenced by MtxReader0::read(), and BalancedMtxReader::read().

istream* BaseMtxReader::_istr [protected]

Input stream containing file data

Definition at line 42 of file basemtxreader.h.

Referenced by BaseMtxReader(), MtxReader0::read(), MtxReader::read(), BalancedMtxReader::read(), and ~BaseMtxReader().

bool BaseMtxReader::_own_istr [protected]

Flag determining if stream has to be deleted by this class

Definition at line 44 of file basemtxreader.h.

Referenced by BaseMtxReader(), and ~BaseMtxReader().


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