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> 73 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
76 #undef MUELU_ADAPTIVESAMLPARAMETERLISTINTERPRETER_SHORT 150 const int lastLevel = startLevel + numDesiredLevel - 1;
153 for(
int iLevel = startLevel; iLevel <= lastLevel; iLevel++) {
160 Teuchos::RCP<FactoryManagerBase>
InitLvlMngr(
int levelID,
int lastLevelID)
const {
164 if (levelID == -1)
return Teuchos::null;
165 if (levelID == lastLevelID+1)
return Teuchos::null;
169 static RCP<FactoryManagerBase> defaultMngr = rcp(
new FactoryManager());
208 #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.
void SetParameterList(const Teuchos::ParameterList ¶mList)
int nullspaceDim_
nullspace can be embedded in the ML parameter list
AdaptiveSaMLParameterListInterpreter()
Constructor.
virtual void SetupHierarchy(Hierarchy &H) const
Setup Hierarchy object.
Namespace for MueLu classes and methods.
Teuchos::RCP< FactoryManagerBase > InitLvlMngr(int levelID, int lastLevelID) const
virtual void SetupOperator(Operator &Op) const
void AddTransferFactory(const RCP< FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories for RAPFactory.
size_t NumTransferFactories() const
Returns number of transfer factories.
virtual ~AdaptiveSaMLParameterListInterpreter()
Destructor.
void SetupInitHierarchy(Hierarchy &H) const
Array< RCP< FactoryManagerBase > > init_levelManagers_
std::vector< RCP< FactoryBase > > TransferFacts_
bool bExportAggregates_
export aggregates
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.