00001 //*****************************************************************// 00002 // Albany 2.0: Copyright 2012 Sandia Corporation // 00003 // This Software is released under the BSD license detailed // 00004 // in the file "license.txt" in the top-level Albany directory // 00005 //*****************************************************************// 00006 #ifndef MOR_MATRIXMARKETMVINPUTFILE_HPP 00007 #define MOR_MATRIXMARKETMVINPUTFILE_HPP 00008 00009 #include "MOR_MultiVectorInputFile.hpp" 00010 00011 namespace MOR { 00012 00013 class MatrixMarketMVInputFile : public MultiVectorInputFile { 00014 public: 00015 explicit MatrixMarketMVInputFile(const std::string &path); 00016 00017 // Overridden 00018 virtual int readVectorCount(const Epetra_Comm &comm); 00019 virtual Teuchos::RCP<Epetra_MultiVector> read(const Epetra_Map &map); 00020 }; 00021 00022 } // namespace MOR 00023 00024 #endif /* MOR_MATRIXMARKETMVINPUTFILE_HPP */