00001 /*************************************************************************** 00002 balancedmtxreader.h - description 00003 ------------------- 00004 begin : Thu Dec 4 2003 00005 copyright : (C) 2003 by Roman Geus 00006 email : roman.geus@psi.ch 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef BALANCEDMTXREADER_H 00019 #define BALANCEDMTXREADER_H 00020 00021 #include "basemtxreader.h" 00022 00029 class BalancedMtxReader : public BaseMtxReader 00030 { 00031 public: 00032 BalancedMtxReader(string filename, const Epetra_Comm& Comm) 00033 : BaseMtxReader(filename, Comm) {} 00034 00035 BalancedMtxReader(istream& istr, const Epetra_Comm& Comm) 00036 : BaseMtxReader(istr, Comm) {} 00037 00038 ~BalancedMtxReader() {} 00039 00040 Epetra_CrsMatrix* read(); 00041 00042 }; 00043 00044 #endif