46 #ifndef MUELU_FACTORYMANAGER_DECL_HPP 47 #define MUELU_FACTORYMANAGER_DECL_HPP 93 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
95 #undef MUELU_FACTORYMANAGER_SHORT 145 #ifdef HAVE_MUELU_DEBUG 146 void ResetDebugData()
const;
186 #define MUELU_FACTORYMANAGER_SHORT 187 #endif // MUELU_FACTORYMANAGER_DECL_HPP
This class specifies the default factory that should generate some data on a Level if the data does n...
virtual ~FactoryManager()
Destructor.
FactoryManager()
Constructor.
void SetIgnoreUserData(bool bIgnoreUserData=false)
set IgnoreUserData flag
Namespace for MueLu classes and methods.
const RCP< const FactoryBase > SetAndReturnDefaultFactory(const std::string &varName, const RCP< const FactoryBase > &factory) const
Class that provides default factories within Needs class.
void SetFactory(const std::string &varName, const RCP< const FactoryBase > &factory)
Set Factory.
const RCP< const FactoryBase > GetFactory(const std::string &varName) const
Get factory associated with a particular data name.
std::map< std::string, RCP< const FactoryBase > > factoryTable_
User-defined factories.
std::map< std::string, RCP< const FactoryBase > > defaultFactoryTable_
Table that holds default factories.
FactoryManager(const std::map< std::string, RCP< const FactoryBase > > &factoryTable)
Constructor used by HierarchyFactory (temporary, will be removed)
const RCP< const FactoryBase > GetDefaultFactory(const std::string &varName) const