10 #ifndef MUELU_HIERARCHYUTILS_DECL_HPP
11 #define MUELU_HIERARCHYUTILS_DECL_HPP
42 level->SetFactoryManager(factoryManager);
64 #undef MUELU_HIERARCHYUTILS_SHORT
99 #define MUELU_HIERARCHYUTILS_SHORT
100 #endif // MUELU_HIERARCHYUTILS_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
static void AddNonSerializableDataToHierarchy(HierarchyManager &HM, Hierarchy &H, const ParameterList &nonSerialList)
Add non-serializable data to Hierarchy.
virtual ~SetFactoryManager()
Destructor.
const RCP< Level > level_
needed to save & restore previous factoryManager
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
An exception safe way to call the method 'Level::SetFactoryManager()'.
const RCP< const FactoryManagerBase > prevFactoryManager_
Provides methods to build a multigrid hierarchy and apply multigrid cycles.
SetFactoryManager(const RCP< Level > &level, const RCP< const FactoryManagerBase > &factoryManager)
Constructor.
static void CopyBetweenHierarchies(Hierarchy &fromHierarchy, Hierarchy &toHierarchy, const std::string fromLabel, const std::string toLabel, const std::string dataType)