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"
91 #ifdef HAVE_MUELU_MATLAB
98 #ifdef HAVE_MUELU_KOKKOS_REFACTOR
108 #ifdef HAVE_MUELU_INTREPID2
120 #undef MUELU_PARAMETERLISTINTERPRETER_SHORT
122 typedef std::pair<std::string, const FactoryBase*>
keep_pair;
211 int levelID, std::vector<keep_pair>& keeps)
const;
215 int levelID, std::vector<keep_pair>& keeps)
const;
217 int levelID, std::vector<keep_pair>& keeps)
const;
219 int levelID, std::vector<keep_pair>& keeps)
const;
221 int levelID, std::vector<keep_pair>& keeps)
const;
223 int levelID, std::vector<keep_pair>& keeps)
const;
225 int levelID, std::vector<keep_pair>& keeps)
const;
227 int levelID, std::vector<keep_pair>& keeps,
RCP<Factory> & nullSpaceFactory)
const;
229 int levelID, std::vector<keep_pair>& keeps,
RCP<Factory> & nullSpaceFactory)
const;
233 int levelID, std::vector<keep_pair>& keeps)
const;
235 int levelID, std::vector<keep_pair>& keeps)
const;
237 int levelID, std::vector<keep_pair>& keeps)
const;
239 int levelID, std::vector<keep_pair>& keeps)
const;
241 int levelID, std::vector<keep_pair>& keeps)
const;
243 int levelID, std::vector<keep_pair>& keeps)
const;
260 typedef std::map<std::string, RCP<const FactoryBase> >
FactoryMap;
276 #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.
MueLu::DefaultLocalOrdinal LocalOrdinal
int WCycleStartLevel_
in case of W-cycle, level on which cycle should start
double scalingFactor_
prolongator scaling factor
bool changedPRrebalance_
Easy interpreter stuff.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void UpdateFactoryManager(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
void UpdateFactoryManager_Matlab(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
ParameterListInterpreter()
Empty constructor.
void UpdateFactoryManager_SemiCoarsen(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
std::map< std::string, RCP< FactoryManagerBase > > FactoryManagerMap
std::map< std::string, RCP< const FactoryBase > > FactoryMap
void UpdateFactoryManager_Nullspace(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps, RCP< Factory > &nullSpaceFactory) const
virtual void SetupOperator(Operator &A) const
Setup Operator object.
virtual ~ParameterListInterpreter()
Destructor.
void UpdateFactoryManager_PG(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
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.
void UpdateFactoryManager_Emin(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
MueLu::DefaultScalar Scalar
void UpdateFactoryManager_Coordinates(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
MueLu::DefaultGlobalOrdinal GlobalOrdinal
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
void UpdateFactoryManager_RAP(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
void UpdateFactoryManager_Restriction(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
void UpdateFactoryManager_Aggregation_TentativeP(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
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
Interpret "Factories" sublist.
void SetParameterList(const Teuchos::ParameterList ¶mList)
Set parameter list for Parameter list interpreter.
void UpdateFactoryManager_SA(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
void Validate(const Teuchos::ParameterList ¶mList) const
void UpdateFactoryManager_PCoarsen(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
void UpdateFactoryManager_Repartition(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps, RCP< Factory > &nullSpaceFactory) const
void UpdateFactoryManager_Smoothers(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) const
void UpdateFactoryManager_CoarseSolvers(Teuchos::ParameterList ¶mList, const Teuchos::ParameterList &defaultList, FactoryManager &manager, int levelID, std::vector< keep_pair > &keeps) 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)