10 #ifndef MUELU_RAPSHIFTFACTORY_DECL_HPP
11 #define MUELU_RAPSHIFTFACTORY_DECL_HPP
16 #include <Xpetra_MatrixFactory2_fwd.hpp>
41 #undef MUELU_RAPSHIFTFACTORY_SHORT
112 #define MUELU_RAPSHIFTFACTORY_SHORT
113 #endif // MUELU_RAPSHIFTFACTORY_DECL_HPP
size_t NumTransferFactories() const
Returns number of transfer factories.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Factory for building coarse grid matrices, when the matrix is of the form K+a*M. Useful when you want...
Base class for factories that use two levels (fineLevel and coarseLevel).
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
bool implicitTranspose_
If true, the action of the restriction operator action is implicitly defined by the transpose of the ...
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
std::vector< RCP< const FactoryBase > > transferFacts_
list of user-defined transfer Factories
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
virtual ~RAPShiftFactory()
void AddTransferFactory(const RCP< const FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories in RepartitionAcFactory.
void SetShifts(std::vector< Scalar > &shifts)
void SetImplicitTranspose(bool const &implicit)
Indicate that the restriction operator action should be implicitly defined by the transpose of the pr...
std::vector< Scalar > shifts_