8 #ifndef MUELU_ADAPTIVESAMLPARAMTERLISTINTERPRETER_DECL_HPP_ 9 #define MUELU_ADAPTIVESAMLPARAMTERLISTINTERPRETER_DECL_HPP_ 11 #include <Teuchos_ParameterList.hpp> 13 #include <Xpetra_Matrix_fwd.hpp> 14 #include <Xpetra_MultiVector_fwd.hpp> 15 #include <Xpetra_Operator_fwd.hpp> 79 #undef MUELU_ADAPTIVESAMLPARAMETERLISTINTERPRETER_SHORT 153 const int lastLevel = startLevel + numDesiredLevel - 1;
156 for(
int iLevel = startLevel; iLevel <= lastLevel; iLevel++) {
163 Teuchos::RCP<FactoryManagerBase>
InitLvlMngr(
int levelID,
int lastLevelID)
const {
167 if (levelID == -1)
return Teuchos::null;
168 if (levelID == lastLevelID+1)
return Teuchos::null;
172 static RCP<FactoryManagerBase> defaultMngr = rcp(
new FactoryManager());
211 #define MUELU_ADAPTIVESAMLPARAMETERLISTINTERPRETER_SHORT
This class specifies the default factory that should generate some data on a Level if the data does n...
int blksize_
Matrix configuration storage.
MueLu::DefaultLocalOrdinal LocalOrdinal
size_t NumTransferFactories() const
Returns number of transfer factories.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void SetParameterList(const Teuchos::ParameterList ¶mList)
void SetupInitHierarchy(Hierarchy &H) const
int nullspaceDim_
nullspace can be embedded in the ML parameter list
Teuchos::RCP< FactoryManagerBase > InitLvlMngr(int levelID, int lastLevelID) const
AdaptiveSaMLParameterListInterpreter()
Constructor.
Namespace for MueLu classes and methods.
void AddTransferFactory(const RCP< FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories for RAPFactory.
virtual void SetupOperator(Operator &Op) const
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
virtual ~AdaptiveSaMLParameterListInterpreter()
Destructor.
Array< RCP< FactoryManagerBase > > init_levelManagers_
std::vector< RCP< FactoryBase > > TransferFacts_
bool bExportAggregates_
export aggregates
virtual void SetupHierarchy(Hierarchy &H) const
Setup Hierarchy object.
void AddInitFactoryManager(int startLevel, int numDesiredLevel, RCP< FactoryManagerBase > manager)
internal routine to add a new factory manager used for the initialization phase
Provides methods to build a multigrid hierarchy and apply multigrid cycles.