42 #ifndef TPETRA_OPERATOR_HPP 43 #define TPETRA_OPERATOR_HPP 45 #include <Kokkos_DefaultNode.hpp> 46 #include <Teuchos_Describable.hpp> 56 #ifndef DOXYGEN_SHOULD_SKIP_THIS 57 template<
class LocalOrdinal,
class GlobalOrdinal,
class Node>
60 template<
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
62 #endif // DOXYGEN_SHOULD_SKIP_THIS 74 template<
class Scalar,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = Kokkos::DefaultNode::DefaultNodeType>
127 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
134 #endif // TPETRA_OPERATOR_HPP Namespace Tpetra contains the class and methods constituting the Tpetra library.
virtual bool hasTransposeApply() const
Indicates whether this operator supports applying the adjoint operator.
GlobalOrdinal global_ordinal_type
The global index type.
virtual const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & getRangeMap() const =0
Returns the Map associated with the range of this operator, which must be compatible with Y...
Scalar scalar_type
The type of the entries of the input and output multivectors.
One or more distributed dense vectors.
virtual const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & getDomainMap() const =0
Returns the Map associated with the domain of this operator, which must be compatible with X...
Abstract interface for linear operators accepting Tpetra MultiVector objects.
LocalOrdinal local_ordinal_type
The local index type.
Node node_type
The Kokkos Node type.
virtual void apply(const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &X, 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 =0
Computes the operator-multivector application.