BalancedMtxReader Class Reference

#include <balancedmtxreader.h>

Inheritance diagram for BalancedMtxReader:

Inheritance graph
[legend]
Collaboration diagram for BalancedMtxReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Puts the approximately the same number of matrix elements on each processor. Each processor reads the whole input stream. If the matrix is square, it will have identical row, domain and range maps.

Author:
Roman Geus

Definition at line 29 of file balancedmtxreader.h.


Constructor & Destructor Documentation

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

Definition at line 32 of file balancedmtxreader.h.

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

Definition at line 35 of file balancedmtxreader.h.

BalancedMtxReader::~BalancedMtxReader (  )  [inline]

Definition at line 38 of file balancedmtxreader.h.


Member Function Documentation

Epetra_CrsMatrix * BalancedMtxReader::read (  )  [virtual]

Implements BaseMtxReader.

Definition at line 32 of file balancedmtxreader.cpp.

References BaseMtxReader::_comm, BaseMtxReader::_istr, MtxDataIterator::eof(), MtxDataIterator::get_cols(), and MtxDataIterator::get_rows().

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