46 #ifndef MUELU_PARAMETERLISTINTERPRETER_DECL_HPP 47 #define MUELU_PARAMETERLISTINTERPRETER_DECL_HPP 49 #include <Teuchos_ParameterList.hpp> 51 #include <Xpetra_Matrix_fwd.hpp> 52 #include <Xpetra_Operator_fwd.hpp> 88 #ifdef HAVE_MUELU_KOKKOS_REFACTOR 100 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
103 #undef MUELU_PARAMETERLISTINTERPRETER_SHORT 105 typedef std::pair<std::string, const FactoryBase*>
keep_pair;
176 void Validate(
const Teuchos::ParameterList& paramList)
const;
179 int levelID, std::vector<keep_pair>& keeps)
const;
195 typedef std::map<std::string, RCP<const FactoryBase> >
FactoryMap;
198 void BuildFactoryMap(
const Teuchos::ParameterList& paramList,
const FactoryMap& factoryMapIn, FactoryMap& factoryMapOut, FactoryManagerMap& factoryManagers)
const;
207 #define MUELU_PARAMETERLISTINTERPRETER_SHORT
This class specifies the default factory that should generate some data on a Level if the data does n...
void SetupHierarchy(Hierarchy &H) const
Call the SetupHierarchy routine from the HiearchyManager object.
bool changedPRrebalance_
Easy interpreter stuff.
void UpdateFactoryManager(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
Namespace for MueLu classes and methods.
std::map< std::string, RCP< FactoryManagerBase > > FactoryManagerMap
virtual void SetupOperator(Operator &A) const
Setup Operator object.
virtual ~ParameterListInterpreter()
Destructor.
int blockSize_
block size of matrix (fixed block size)
Teuchos::RCP< FactoryFactory > factFact_
Internal factory for factories.
bool changedImplicitTranspose_
std::map< std::string, RCP< const FactoryBase > > FactoryMap
void SetFactoryParameterList(const Teuchos::ParameterList ¶mList)
Factory interpreter stuff.
std::pair< std::string, const FactoryBase * > keep_pair
ParameterListInterpreter(Teuchos::ParameterList ¶mList, Teuchos::RCP< const Teuchos::Comm< int > > comm=Teuchos::null, Teuchos::RCP< FactoryFactory > factFact=Teuchos::null)
Constructor that accepts a user-provided ParameterList.
GlobalOrdinal dofOffset_
global offset variable describing offset of DOFs in operator
void BuildFactoryMap(const Teuchos::ParameterList ¶mList, const FactoryMap &factoryMapIn, FactoryMap &factoryMapOut, FactoryManagerMap &factoryManagers) const
void SetParameterList(const Teuchos::ParameterList ¶mList)
Set parameter list for Parameter list interpreter.
void Validate(const Teuchos::ParameterList ¶mList) const
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)