10 #ifndef MUELU_SHIFTEDLAPLACIANOPERATOR_DECL_HPP
11 #define MUELU_SHIFTEDLAPLACIANOPERATOR_DECL_HPP
15 #include <Tpetra_Operator.hpp>
19 #include "MueLu_Utilities.hpp"
28 template <class Scalar = Tpetra::Operator<>::scalar_type,
51 const RCP<Matrix> A,
int cycles,
int iters,
int option,
double tol)
126 #endif // MUELU_SHIFTEDLAPLACIANOPERATOR_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > Matrix
Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > getDomainMap() const
Returns the Tpetra::Map object associated with the domain of this operator.
void apply(const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &X, Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, Scalar alpha=Teuchos::ScalarTraits< Scalar >::one(), Scalar beta=Teuchos::ScalarTraits< Scalar >::one()) const
Returns in Y the result of a Tpetra::Operator applied to a Tpetra::MultiVector X. ...
virtual ~ShiftedLaplacianOperator()
Destructor.
Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > OP
RCP< Teuchos::ParameterList > BelosList_
bool hasTransposeApply() const
Indicates whether this operator supports applying the adjoint operator.
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > R_
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > MV
Wraps an existing MueLu::Hierarchy as a Tpetra::Operator, with an optional two-level correction...
RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Hierarchy_
MueLu::Utilities< Scalar, LocalOrdinal, GlobalOrdinal, Node > MUtils
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > P_
Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > getRangeMap() const
Returns the Tpetra::Map object associated with the range of this operator.
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > A_
Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > CrsMatrix
RCP< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Ac_
ShiftedLaplacianOperator(const RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &H)
Constructor.
ShiftedLaplacianOperator(const RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &H, const RCP< Matrix > A, int cycles, int iters, int option, double tol)
Auxiliary Constructor.
Provides methods to build a multigrid hierarchy and apply multigrid cycles.