Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve > Class Template Reference

A class for wrapping a Tpetra::CrsMatrix solve in a Tpetra::Operator. More...

#include <Tpetra_CrsMatrixSolveOp_decl.hpp>

Inheritance diagram for Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Constructor/Destructor Methods
 CrsMatrixSolveOp (const Teuchos::RCP< const CrsMatrix< MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve > > &A)
 Constructor.
virtual ~CrsMatrixSolveOp ()
 Destructor.
Methods implementing Operator
void apply (const MultiVector< OpScalar, LocalOrdinal, GlobalOrdinal, Node > &X, MultiVector< OpScalar, LocalOrdinal, GlobalOrdinal, Node > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, OpScalar alpha=Teuchos::ScalarTraits< OpScalar >::one(), OpScalar beta=Teuchos::ScalarTraits< OpScalar >::zero()) const
bool hasTransposeApply () const
const Teuchos::RCP< const
Map< LocalOrdinal, GlobalOrdinal,
Node > > & 
getDomainMap () const
 Returns the Map associated with the domain of this operator. This is the range map of the underlying CrsMatrix.
const Teuchos::RCP< const
Map< LocalOrdinal, GlobalOrdinal,
Node > > & 
getRangeMap () const

Detailed Description

template<class OpScalar, class MatScalar = OpScalar, class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = Kokkos::DefaultNode::DefaultNodeType, class LocalMatVec = Kokkos::DefaultSparseMultiply<MatScalar,LocalOrdinal,Node>, class LocalMatSolve = Kokkos::DefaultSparseSolve<MatScalar,LocalOrdinal,Node>>
class Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >

A class for wrapping a Tpetra::CrsMatrix solve in a Tpetra::Operator.


Constructor & Destructor Documentation

template<class OpScalar, class MatScalar, class LocalOrdinal, class GlobalOrdinal, class Node, class LocalMatVec, class LocalMatSolve>
Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >::CrsMatrixSolveOp ( const Teuchos::RCP< const CrsMatrix< MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve > > &  A  ) 

Constructor.

template<class OpScalar, class MatScalar, class LocalOrdinal, class GlobalOrdinal, class Node, class LocalMatVec, class LocalMatSolve>
Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >::~CrsMatrixSolveOp (  )  [virtual]

Destructor.


Member Function Documentation

template<class OpScalar, class MatScalar, class LocalOrdinal, class GlobalOrdinal, class Node, class LocalMatVec, class LocalMatSolve>
void Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >::apply ( const MultiVector< OpScalar, LocalOrdinal, GlobalOrdinal, Node > &  X,
MultiVector< OpScalar, LocalOrdinal, GlobalOrdinal, Node > &  Y,
Teuchos::ETransp  mode = Teuchos::NO_TRANS,
OpScalar  alpha = Teuchos::ScalarTraits< OpScalar >::one(),
OpScalar  beta = Teuchos::ScalarTraits< OpScalar >::zero() 
) const [virtual]

Computes this matrix-vector multilication y = A x. This calls solve() on the underlying CrsMatrix object.

Implements Tpetra::Operator< OpScalar, LocalOrdinal, GlobalOrdinal, Node >.

template<class OpScalar, class MatScalar, class LocalOrdinal, class GlobalOrdinal, class Node, class LocalMatVec, class LocalMatSolve>
bool Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >::hasTransposeApply (  )  const [virtual]

Indicates whether this operator supports inverting the adjoint operator. This is true.

Reimplemented from Tpetra::Operator< OpScalar, LocalOrdinal, GlobalOrdinal, Node >.

template<class OpScalar, class MatScalar, class LocalOrdinal, class GlobalOrdinal, class Node, class LocalMatVec, class LocalMatSolve>
const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >::getDomainMap (  )  const [virtual]

Returns the Map associated with the domain of this operator. This is the range map of the underlying CrsMatrix.

Implements Tpetra::Operator< OpScalar, LocalOrdinal, GlobalOrdinal, Node >.

template<class OpScalar, class MatScalar, class LocalOrdinal, class GlobalOrdinal, class Node, class LocalMatVec, class LocalMatSolve>
const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & Tpetra::CrsMatrixSolveOp< OpScalar, MatScalar, LocalOrdinal, GlobalOrdinal, Node, LocalMatVec, LocalMatSolve >::getRangeMap (  )  const [virtual]

Returns the Map associated with the domain of this operator. This is the domain map of the underlying CrsMatrix.

Implements Tpetra::Operator< OpScalar, LocalOrdinal, GlobalOrdinal, Node >.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:39:07 2010 for Tpetra Matrix/Vector Services by  doxygen 1.4.7