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