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_IDENTITYBASISSOURCE_HPP 00007 #define MOR_IDENTITYBASISSOURCE_HPP 00008 00009 #include "MOR_ReducedBasisFactory.hpp" 00010 00011 #include "Teuchos_RCP.hpp" 00012 #include "Teuchos_ParameterList.hpp" 00013 00014 #include "Epetra_Map.h" 00015 00016 namespace MOR { 00017 00018 class IdentityBasisSource : public ReducedBasisSource { 00019 public: 00020 explicit IdentityBasisSource(const Epetra_Map &basisMap); 00021 00022 virtual ReducedBasisElements operator()(const Teuchos::RCP<Teuchos::ParameterList> ¶ms); 00023 00024 private: 00025 Epetra_Map basisMap_; 00026 }; 00027 00028 } // namespace MOR 00029 00030 #endif /* MOR_IDENTITYBASISSOURCE_HPP */