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 00007 #include "MOR_DefaultReducedBasisFactory.hpp" 00008 00009 #include "MOR_IdentityBasisSource.hpp" 00010 #include "MOR_FileReducedBasisSource.hpp" 00011 00012 namespace MOR { 00013 00014 Teuchos::RCP<ReducedBasisFactory> defaultReducedBasisFactoryNew(const Epetra_Map &basisMap) 00015 { 00016 const Teuchos::RCP<ReducedBasisFactory> result = Teuchos::rcp(new ReducedBasisFactory); 00017 00018 result->extend("Identity", Teuchos::rcp(new MOR::IdentityBasisSource(basisMap))); 00019 result->extend("File", Teuchos::rcp(new MOR::FileReducedBasisSource(basisMap))); 00020 00021 return result; 00022 } 00023 00024 } // end namespace MOR