Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef MOR_REDUCEDBASISFACTORY_HPP
00007 #define MOR_REDUCEDBASISFACTORY_HPP
00008
00009 #include "MOR_ReducedBasisElements.hpp"
00010 #include "MOR_ReducedBasisSource.hpp"
00011
00012 #include "Teuchos_ParameterList.hpp"
00013 #include "Teuchos_RCP.hpp"
00014
00015 #include <string>
00016 #include <map>
00017
00018 namespace MOR {
00019
00020 class ReducedBasisFactory {
00021 public:
00022 ReducedBasisFactory();
00023
00024 ReducedBasisElements create(const Teuchos::RCP<Teuchos::ParameterList> ¶ms);
00025
00026 void extend(const std::string &id, const Teuchos::RCP<ReducedBasisSource> &source);
00027
00028 private:
00029 typedef std::map<std::string, Teuchos::RCP<ReducedBasisSource> > BasisSourceMap;
00030 BasisSourceMap sources_;
00031 };
00032
00033 }
00034
00035 #endif