10 #ifndef MUELU_TOGGLEPFACTORY_DECL_HPP
11 #define MUELU_TOGGLEPFACTORY_DECL_HPP
18 #include "MueLu_PFactory.hpp"
59 #undef MUELU_TOGGLEPFACTORY_SHORT
130 #define MUELU_TOGGLEPFACTORY_SHORT
131 #endif // MUELU_TOGGLEPFACTORY_DECL_HPP
std::vector< RCP< const FactoryBase > > ptentFacts_
list of user-defined tentative prolongation operator factories
MueLu::DefaultLocalOrdinal LocalOrdinal
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void AddProlongatorFactory(const RCP< const FactoryBase > &factory)
Add a prolongator factory in the end of list of prolongator factories.
std::vector< RCP< const FactoryBase > > nspFacts_
list of user-defined nullspace factories (i.e. the prolongator factories which also generate the coar...
size_t NumPtentFactories() const
Returns number of tentative prolongator factories.
void BuildP(Level &, Level &) const
Abstract Build method.
RCP< const FactoryBase > getProlongatorFactory(size_t t) const
std::vector< RCP< const FactoryBase > > prolongatorFacts_
list of user-defined prolongation operator factories
virtual ~TogglePFactory()
Destructor.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Prolongator factory which allows switching between two different prolongator strategies.
size_t NumCoarseNullspaceFactories() const
Returns number of coarse null space factories.
Factory that provides an interface for a concrete implementation of a prolongation operator...
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void AddPtentFactory(const RCP< const FactoryBase > &factory)
Add a tentative prolongator factory in the end of list of prolongator factories.
TogglePFactory()
Constructor.
size_t NumProlongatorFactories() const
Returns number of prolongator factories.
void AddCoarseNullspaceFactory(const RCP< const FactoryBase > &factory)
Add a coarse nullspace factory in the end of list of coarse nullspace factories.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.