46 #ifndef MUELU_TOGGLEPFACTORY_DECL_HPP 47 #define MUELU_TOGGLEPFACTORY_DECL_HPP 54 #include "MueLu_PFactory.hpp" 96 #undef MUELU_TOGGLEPFACTORY_SHORT 166 #define MUELU_TOGGLEPFACTORY_SHORT 167 #endif // MUELU_TOGGLEPFACTORY_DECL_HPP std::vector< RCP< const FactoryBase > > ptentFacts_
list of user-defined tentative prolongation operator factories
MueLu::DefaultLocalOrdinal LocalOrdinal
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...
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Namespace for MueLu classes and methods.
void BuildP(Level &, Level &) const
Abstract Build method.
std::vector< RCP< const FactoryBase > > prolongatorFacts_
list of user-defined prolongation operator factories
virtual ~TogglePFactory()
Destructor.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
size_t NumPtentFactories() const
Returns number of tentative prolongator factories.
Prolongator factory which allows switching between two different prolongator strategies.
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
size_t NumProlongatorFactories() const
Returns number of prolongator factories.
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 AddPtentFactory(const RCP< const FactoryBase > &factory)
Add a tentative prolongator factory in the end of list of prolongator factories.
TogglePFactory()
Constructor.
void AddCoarseNullspaceFactory(const RCP< const FactoryBase > &factory)
Add a coarse nullspace factory in the end of list of coarse nullspace factories.