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
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Factory for building coarse grid matrices, when the matrix is of the form K+a*M. Useful when you want...
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
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...
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void AddTransferFactory(const RCP< const FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories in RepartitionAcFactory.
virtual ~RAPShiftFactory()
std::vector< RCP< const FactoryBase > > transferFacts_
list of user-defined transfer Factories
size_t NumTransferFactories() const
Returns number of transfer factories.
std::vector< Scalar > shifts_
bool implicitTranspose_
If true, the action of the restriction operator action is implicitly defined by the transpose of the ...
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Base class for factories that use two levels (fineLevel and coarseLevel).
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar