Tpetra::Operator< Ordinal, Scalar > Class Template Reference

Abstract interface for linear operators that accept Tpetra MultiVectors. More...

#include <Tpetra_Operator.hpp>

Inheritance diagram for Tpetra::Operator< Ordinal, Scalar >:

Teuchos::Object Tpetra::CrsMatrix< Ordinal, Scalar > List of all members.

Public Member Functions

Pure virtual functions to be overridden by subclasses.
virtual const Map< Ordinal > & getDomainMap () const =0
 Returns the Map associated with the domain of this operator.
virtual const Map< Ordinal > & getRangeMap () const =0
 Returns the Map associated with the range of this operator.
virtual void apply (const MultiVector< Ordinal, Scalar > &X, MultiVector< Ordinal, Scalar > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS) const =0
 Computes the matrix-vector multiplication y = Ax.

Detailed Description

template<typename Ordinal, typename Scalar>
class Tpetra::Operator< Ordinal, Scalar >

Abstract interface for linear operators that accept Tpetra MultiVectors.


Member Function Documentation

template<typename Ordinal, typename Scalar>
virtual const Map<Ordinal>& Tpetra::Operator< Ordinal, Scalar >::getDomainMap (  )  const [pure virtual]

Returns the Map associated with the domain of this operator.

Implemented in Tpetra::CrsMatrix< Ordinal, Scalar >.

template<typename Ordinal, typename Scalar>
virtual const Map<Ordinal>& Tpetra::Operator< Ordinal, Scalar >::getRangeMap (  )  const [pure virtual]

Returns the Map associated with the range of this operator.

Implemented in Tpetra::CrsMatrix< Ordinal, Scalar >.

template<typename Ordinal, typename Scalar>
virtual void Tpetra::Operator< Ordinal, Scalar >::apply ( const MultiVector< Ordinal, Scalar > &  X,
MultiVector< Ordinal, Scalar > &  Y,
Teuchos::ETransp  mode = Teuchos::NO_TRANS 
) const [pure virtual]

Computes the matrix-vector multiplication y = Ax.

Implemented in Tpetra::CrsMatrix< Ordinal, Scalar >.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:59:42 2010 for Tpetra Matrix/Vector Services by  doxygen 1.4.7