41 #ifndef DTK_POLYNOMIALMATRIX_HPP 42 #define DTK_POLYNOMIALMATRIX_HPP 44 #include "DTK_Types.hpp" 46 #include <Teuchos_Comm.hpp> 47 #include <Teuchos_RCP.hpp> 49 #include <Tpetra_CrsMatrix.hpp> 50 #include <Tpetra_Map.hpp> 51 #include <Tpetra_MultiVector.hpp> 52 #include <Tpetra_Operator.hpp> 67 const Teuchos::RCP<
const Tpetra::MultiVector<double, int, SupportId>>
69 const Teuchos::RCP<
const Tpetra::Map<int, SupportId>> &domain_map,
70 const Teuchos::RCP<
const Tpetra::Map<int, SupportId>> &range_map );
74 Teuchos::RCP<const Tpetra::Map<int, SupportId>>
82 Teuchos::RCP<const Tpetra::Map<int, SupportId>>
getRangeMap()
const override 97 apply(
const Tpetra::MultiVector<double, int, SupportId> &X,
98 Tpetra::MultiVector<double, int, SupportId> &Y,
99 Teuchos::ETransp mode = Teuchos::NO_TRANS,
100 double alpha = Teuchos::ScalarTraits<double>::one(),
101 double beta = Teuchos::ScalarTraits<double>::zero() )
const override;
109 Teuchos::RCP<const Teuchos::Comm<int>> d_comm;
112 Teuchos::RCP<const Tpetra::MultiVector<double, int, SupportId>>
116 Teuchos::RCP<const Tpetra::Map<int, SupportId>> d_domain_map;
119 Teuchos::RCP<const Tpetra::Map<int, SupportId>> d_range_map;
128 #endif // end DTK_POLYNOMIALMATRIX_HPP void apply(const Tpetra::MultiVector< double, int, SupportId > &X, Tpetra::MultiVector< double, int, SupportId > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, double alpha=Teuchos::ScalarTraits< double >::one(), double beta=Teuchos::ScalarTraits< double >::zero()) const override
Computes the operator-multivector application.
bool hasTransposeApply() const override
Whether this operator supports applying the transpose or conjugate transpose.
PolynomialMatrix(const Teuchos::RCP< const Tpetra::MultiVector< double, int, SupportId >> &polynomial, const Teuchos::RCP< const Tpetra::Map< int, SupportId >> &domain_map, const Teuchos::RCP< const Tpetra::Map< int, SupportId >> &range_map)
Constructor.
Teuchos::RCP< const Tpetra::Map< int, SupportId > > getRangeMap() const override
Teuchos::RCP< const Tpetra::Map< int, SupportId > > getDomainMap() const override
Vector apply implementation for polynomial matrices.