18 #ifndef IFPACK2_BORDEREDOPERATOR_DECL_HPP
19 #define IFPACK2_BORDEREDOPERATOR_DECL_HPP
21 #include "Ifpack2_ConfigDefs.hpp"
22 #include "Tpetra_Operator.hpp"
51 template<
class Scalar,
52 class LocalOrdinal =
typename Tpetra::Operator<Scalar>::local_ordinal_type,
53 class GlobalOrdinal =
typename Tpetra::Operator<Scalar, LocalOrdinal>::global_ordinal_type,
54 class Node =
typename Tpetra::Operator<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
56 virtual public Tpetra::Operator<Scalar, LocalOrdinal, GlobalOrdinal, Node > {
78 apply (
const Tpetra::MultiVector<Scalar,LocalOrdinal,GlobalOrdinal,Node> &X,
79 Tpetra::MultiVector<Scalar,LocalOrdinal,GlobalOrdinal,Node> &Y,
92 #endif // IFPACK2_BORDEREDOPERATOR_DECL_HPP
virtual Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > getRangeMap() const
The range Map of this operator. It must be compatible with Y.getMap().
Definition: Ifpack2_BorderedOperator_def.hpp:40
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 >::zero()) const
Apply the bordered operator.
Definition: Ifpack2_BorderedOperator_def.hpp:55
virtual Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > getDomainMap() const
The domain Map of this operator. It must be compatible with X.getMap().
Definition: Ifpack2_BorderedOperator_def.hpp:33
Ifpack2 bordered operator.
Definition: Ifpack2_BorderedOperator_decl.hpp:55
bool hasTransposeApply() const
Whether this operator can apply the transpose or conjugate transpose.
Definition: Ifpack2_BorderedOperator_def.hpp:47
BorderedOperator(const Teuchos::RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &A)
Constructor with Tpetra::Operator input.
Definition: Ifpack2_BorderedOperator_def.hpp:22
virtual ~BorderedOperator()
Destructor.
Definition: Ifpack2_BorderedOperator_decl.hpp:62