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
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
std::vector< RCP< FactoryBase > > TransferFacts_
size_t NumTransferFactories() const
Returns number of transfer factories.
void AddInitFactoryManager(int startLevel, int numDesiredLevel, RCP< FactoryManagerBase > manager)
internal routine to add a new factory manager used for the initialization phase
void SetParameterList(const Teuchos::ParameterList ¶mList)
virtual void SetupOperator(Operator &Op) const
virtual void SetupHierarchy(Hierarchy &H) const
Setup Hierarchy object.
Teuchos::RCP< FactoryManagerBase > InitLvlMngr(int levelID, int lastLevelID) const
int nullspaceDim_
nullspace can be embedded in the ML parameter list
void SetupInitHierarchy(Hierarchy &H) const
virtual ~AdaptiveSaMLParameterListInterpreter()
Destructor.
int blksize_
Matrix configuration storage.
Array< RCP< FactoryManagerBase > > init_levelManagers_
void AddTransferFactory(const RCP< FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories for RAPFactory.
AdaptiveSaMLParameterListInterpreter()
Constructor.
bool bExportAggregates_
export aggregates
This class specifies the default factory that should generate some data on a Level if the data does n...
Provides methods to build a multigrid hierarchy and apply multigrid cycles.
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar