10#ifndef MUELU_RAPSHIFTFACTORY_DECL_HPP
11#define MUELU_RAPSHIFTFACTORY_DECL_HPP
15#include <Xpetra_Matrix_fwd.hpp>
16#include <Xpetra_MatrixFactory2_fwd.hpp>
17#include <Xpetra_Vector_fwd.hpp>
18#include <Xpetra_VectorFactory_fwd.hpp>
41#undef MUELU_RAPSHIFTFACTORY_SHORT
112#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.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar