10 #ifndef MUELU_HIERARCHYUTILS_DECL_HPP
11 #define MUELU_HIERARCHYUTILS_DECL_HPP
42 level->SetFactoryManager(factoryManager);
64 #undef MUELU_HIERARCHYUTILS_SHORT
94 static void CopyBetweenLevels(
Level& fromLevel,
Level& toLevel,
const std::string fromLabel,
const std::string toLabel,
const std::string dataType);
100 #define MUELU_HIERARCHYUTILS_SHORT
101 #endif // MUELU_HIERARCHYUTILS_DECL_HPP
static void CopyBetweenLevels(Level &fromLevel, Level &toLevel, const std::string fromLabel, const std::string toLabel, const std::string dataType)
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
Class that holds all level-specific information.
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)