51 #ifndef IFPACK2_BORDEREDOPERATOR_DECL_HPP
52 #define IFPACK2_BORDEREDOPERATOR_DECL_HPP
54 #include "Ifpack2_ConfigDefs.hpp"
55 #include "Tpetra_Operator.hpp"
84 template<
class Scalar,
85 class LocalOrdinal =
typename Tpetra::Operator<Scalar>::local_ordinal_type,
86 class GlobalOrdinal =
typename Tpetra::Operator<Scalar, LocalOrdinal>::global_ordinal_type,
87 class Node =
typename Tpetra::Operator<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
89 virtual public Tpetra::Operator<Scalar, LocalOrdinal, GlobalOrdinal, Node > {
111 apply (
const Tpetra::MultiVector<Scalar,LocalOrdinal,GlobalOrdinal,Node> &X,
112 Tpetra::MultiVector<Scalar,LocalOrdinal,GlobalOrdinal,Node> &Y,
125 #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:73
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:88
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:66
Ifpack2 bordered operator.
Definition: Ifpack2_BorderedOperator_decl.hpp:88
bool hasTransposeApply() const
Whether this operator can apply the transpose or conjugate transpose.
Definition: Ifpack2_BorderedOperator_def.hpp:80
BorderedOperator(const Teuchos::RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &A)
Constructor with Tpetra::Operator input.
Definition: Ifpack2_BorderedOperator_def.hpp:55
virtual ~BorderedOperator()
Destructor.
Definition: Ifpack2_BorderedOperator_decl.hpp:95