46 #ifndef MUELU_PARAMETERLISTINTERPRETER_DECL_HPP 47 #define MUELU_PARAMETERLISTINTERPRETER_DECL_HPP 51 #include <Xpetra_Matrix_fwd.hpp> 52 #include <Xpetra_Operator_fwd.hpp> 66 #include "MueLu_FacadeClassBase.hpp" 67 #include "MueLu_FacadeClassFactory.hpp" 90 #ifdef HAVE_MUELU_KOKKOS_REFACTOR 103 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
106 #undef MUELU_PARAMETERLISTINTERPRETER_SHORT 108 typedef std::pair<std::string, const FactoryBase*>
keep_pair;
195 int levelID, std::vector<keep_pair>& keeps)
const;
211 typedef std::map<std::string, RCP<const FactoryBase> >
FactoryMap;
227 #define MUELU_PARAMETERLISTINTERPRETER_SHORT
This class specifies the default factory that should generate some data on a Level if the data does n...
bool changedPRrebalance_
Easy interpreter stuff.
ParameterListInterpreter()
Empty constructor.
void BuildFactoryMap(const Teuchos::ParameterList ¶mList, const FactoryMap &factoryMapIn, FactoryMap &factoryMapOut, FactoryManagerMap &factoryManagers) const
virtual void SetupOperator(Operator &A) const
Setup Operator object.
Namespace for MueLu classes and methods.
std::map< std::string, RCP< FactoryManagerBase > > FactoryManagerMap
std::map< std::string, RCP< const FactoryBase > > FactoryMap
virtual ~ParameterListInterpreter()
Destructor.
Teuchos::RCP< MueLu::FacadeClassFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node > > facadeFact_
FacadeClass factory.
int blockSize_
block size of matrix (fixed block size)
Teuchos::RCP< FactoryFactory > factFact_
Internal factory for factories.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void UpdateFactoryManager(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
bool changedImplicitTranspose_
std::map< std::string, RCP< const FactoryBase > > FactoryMap
void Validate(const Teuchos::ParameterList ¶mList) const
void SetFactoryParameterList(const Teuchos::ParameterList ¶mList)
Factory interpreter stuff.
std::pair< std::string, const FactoryBase * > keep_pair
GlobalOrdinal dofOffset_
global offset variable describing offset of DOFs in operator
void SetupHierarchy(Hierarchy &H) const
Call the SetupHierarchy routine from the HiearchyManager object.
void SetParameterList(const Teuchos::ParameterList ¶mList)
Set parameter list for Parameter list interpreter.
void SetEasyParameterList(const Teuchos::ParameterList ¶mList)
Provides methods to build a multigrid hierarchy and apply multigrid cycles.
CycleType Cycle_
multigrid cycle type (V-cycle or W-cycle)