Go to the documentation of this file.
46 #ifndef MUELU_FACTORYMANAGER_DECL_HPP
47 #define MUELU_FACTORYMANAGER_DECL_HPP
73 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
109 #undef MUELU_FACTORYMANAGER_SHORT
120 #if defined(HAVE_MUELU_KOKKOS_REFACTOR) && defined(HAVE_MUELU_KOKKOS_REFACTOR_USE_BY_DEFAULT)
131 #if defined(HAVE_MUELU_KOKKOS_REFACTOR) && defined(HAVE_MUELU_KOKKOS_REFACTOR_USE_BY_DEFAULT)
187 #ifdef HAVE_MUELU_DEBUG
188 void ResetDebugData()
const;
231 #define MUELU_FACTORYMANAGER_SHORT
232 #endif // MUELU_FACTORYMANAGER_DECL_HPP
DASHPOS string(SUBSTRING ${CLASS} 0 ${DASHPOS} CLASS_NAME) set(CONDITION_NAME "") set(CONDITION_NAME_END "") string(SUBSTRING $
void SetIgnoreUserData(bool bIgnoreUserData=false)
set IgnoreUserData flag
bool useKokkos_
Whether or not to use kokkos factories.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Namespace for MueLu classes and methods.
bool GetKokkosRefactor() const
void SetFactory(const std::string &varName, const RCP< const FactoryBase > &factory)
Set Factory.
void SetKokkosRefactor(const bool useKokkos)
FactoryManager()
Constructor.
const RCP< FactoryBase > GetFactoryNonConst(const std::string &varName)
Get factory associated with a particular data name (NONCONST version)
std::map< std::string, RCP< const FactoryBase > > defaultFactoryTable_
Table that holds default factories.
const RCP< const FactoryBase > SetAndReturnDefaultFactory(const std::string &varName, const RCP< const FactoryBase > &factory) const
Class that provides default factories within Needs class.
FactoryManager(const std::map< std::string, RCP< const FactoryBase > > &factoryTable)
Constructor used by HierarchyFactory (temporary, will be removed)
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
const RCP< const FactoryBase > GetDefaultFactory(const std::string &varName) const
const RCP< const FactoryBase > GetFactory(const std::string &varName) const
Get factory associated with a particular data name.
This class specifies the default factory that should generate some data on a Level if the data does n...
bool hasFactory(const std::string &varName) const
Check.
std::map< std::string, RCP< const FactoryBase > > factoryTable_
User-defined factories.
virtual ~FactoryManager()
Destructor.
MueLu::DefaultLocalOrdinal LocalOrdinal