00001 /*************************************************************************** 00002 mtxreader0.h - description 00003 ------------------- 00004 begin : Tue Dec 2 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 MTXREADER0_H 00019 #define MTXREADER0_H 00020 00021 #include <iostream> 00022 #include "Epetra_CrsMatrix.h" 00023 #include "basemtxreader.h" 00024 00033 class MtxReader0 : public BaseMtxReader 00034 { 00035 public: 00036 MtxReader0(string filename, const Epetra_Comm& Comm) 00037 : BaseMtxReader(filename, Comm) {} 00038 00039 MtxReader0(istream& istr, const Epetra_Comm& Comm) 00040 : BaseMtxReader(istr, Comm) {} 00041 00042 ~MtxReader0(); 00043 00046 Epetra_CrsMatrix* read(); 00047 }; 00048 00049 #endif