46 #ifndef MUELU_RAPSHIFTFACTORY_DECL_HPP
47 #define MUELU_RAPSHIFTFACTORY_DECL_HPP
51 #include <Xpetra_Matrix_fwd.hpp>
52 #include <Xpetra_CrsMatrix_fwd.hpp>
53 #include <Xpetra_MatrixFactory_fwd.hpp>
54 #include <Xpetra_Vector_fwd.hpp>
55 #include <Xpetra_VectorFactory_fwd.hpp>
79 #undef MUELU_RAPSHIFTFACTORY_SHORT
152 #define MUELU_RAPSHIFTFACTORY_SHORT
153 #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
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
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_