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_INPUTFILEEPETRAMVSOURCE_HPP 00007 #define MOR_INPUTFILEEPETRAMVSOURCE_HPP 00008 00009 #include "MOR_EpetraMVSource.hpp" 00010 00011 #include "MOR_MultiVectorInputFile.hpp" 00012 00013 namespace MOR { 00014 00015 class InputFileEpetraMVSource : public BasicEpetraMVSource { 00016 public: 00017 InputFileEpetraMVSource( 00018 const Epetra_Map &vectorMap, 00019 const Teuchos::RCP<MultiVectorInputFile> &inputFile); 00020 00021 virtual int vectorCount() const; 00022 virtual Epetra_Map vectorMap() const; 00023 00024 virtual Teuchos::RCP<Epetra_MultiVector> multiVectorNew(); 00025 00026 private: 00027 const Epetra_Map vectorMap_; 00028 Teuchos::RCP<MultiVectorInputFile> inputFile_; 00029 00030 int vectorCount_; 00031 }; 00032 00033 } // end namespace MOR 00034 00035 #endif /*MOR_INPUTFILEEPETRAMVSOURCE_HPP*/