AbstractLinAlgPack::MatrixOpThyra Class Reference

MatrixOp adapter subclass for Thyra::LinearOpBase. More...

#include <AbstractLinAlgPack_MatrixOpThyra.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixOpThyra:

[legend]
List of all members.

Constructors / Initializers

 MatrixOpThyra ()
 Construct to uninitialized.
 MatrixOpThyra (const Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > &thyra_linear_op, BLAS_Cpp::Transp thyra_linear_op_trans=BLAS_Cpp::no_trans)
 Calls this->initialize().
virtual void initialize (const Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > &thyra_linear_op, BLAS_Cpp::Transp thyra_linear_op_trans=BLAS_Cpp::no_trans)
 Initalize given a smart pointer to a Thyra::LinearOpBase object.
Teuchos::RefCountPtr< const
Thyra::LinearOpBase< value_type > > 
set_uninitialized ()
 Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.
const Teuchos::RefCountPtr<
const Thyra::LinearOpBase<
value_type > > & 
thyra_linear_op () const
 Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase object.
BLAS_Cpp::Transp thyra_linear_op_trans () const
 

Overridden from MatrixBase

const VectorSpacespace_cols () const
 
const VectorSpacespace_rows () const
 

Overridden from MatrixOp

mat_mut_ptr_t clone ()
 
MatrixOpoperator= (const MatrixOp &mwo_rhs)
 
void Vp_StMtV (VectorMutable *v_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2, value_type beta) const
 
bool Mp_StMtM (MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta) const
 Works for MultiVectorMutableThyra arguments.

Private Attributes

Thyra::LinearOpBase< value_type > * thyra_linear_op
BLAS_Cpp::Transp thyra_linear_op_trans_
VectorSpaceThyra space_cols_
VectorSpaceThyra space_rows_

Detailed Description

MatrixOp adapter subclass for Thyra::LinearOpBase.

Definition at line 40 of file AbstractLinAlgPack_MatrixOpThyra.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixOpThyra::MatrixOpThyra  ) 
 

Construct to uninitialized.

Postconditioins:

Definition at line 41 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

AbstractLinAlgPack::MatrixOpThyra::MatrixOpThyra const Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > &  thyra_linear_op,
BLAS_Cpp::Transp  thyra_linear_op_trans = BLAS_Cpp::no_trans
 

Calls this->initialize().

Definition at line 44 of file AbstractLinAlgPack_MatrixOpThyra.cpp.


Member Function Documentation

void AbstractLinAlgPack::MatrixOpThyra::initialize const Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > &  thyra_linear_op,
BLAS_Cpp::Transp  thyra_linear_op_trans = BLAS_Cpp::no_trans
[virtual]
 

Initalize given a smart pointer to a Thyra::LinearOpBase object.

Parameters:
thyra_linear_op [in] Smart pointer to Thyra vector this will adapt.
Preconditioins:
  • thyra_linear_op.get() != NULL (throw std::invalid_argument)
  • thyra_linear_op->opSupported(Thyra::NOTRANS) && thyra_linear_op->opSupported(Thyra::TRANS) (throw std::invalid_argument)

Postconditioins:

Definition at line 52 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > AbstractLinAlgPack::MatrixOpThyra::set_uninitialized  ) 
 

Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.

Postconditioins:

Reimplemented in AbstractLinAlgPack::MatrixOpNonsingThyra, and AbstractLinAlgPack::MultiVectorMutableThyra.

Definition at line 75 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

const Teuchos::RefCountPtr<const Thyra::LinearOpBase<value_type> >& AbstractLinAlgPack::MatrixOpThyra::thyra_linear_op  )  const
 

Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase object.

If this->thyra_linear_op().count() == 1, then this has sole ownership of the *this->thyra_linear_op() object.

BLAS_Cpp::Transp AbstractLinAlgPack::MatrixOpThyra::thyra_linear_op_trans  )  const [inline]
 

Definition at line 156 of file AbstractLinAlgPack_MatrixOpThyra.hpp.

const VectorSpace & AbstractLinAlgPack::MatrixOpThyra::space_cols  )  const [virtual]
 

Implements AbstractLinAlgPack::MatrixBase.

Definition at line 88 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

const VectorSpace & AbstractLinAlgPack::MatrixOpThyra::space_rows  )  const [virtual]
 

Implements AbstractLinAlgPack::MatrixBase.

Definition at line 94 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

MatrixOp::mat_mut_ptr_t AbstractLinAlgPack::MatrixOpThyra::clone  )  [virtual]
 

Reimplemented from AbstractLinAlgPack::MatrixOp.

Reimplemented in AbstractLinAlgPack::MatrixOpNonsingThyra, and AbstractLinAlgPack::MultiVectorMutableThyra.

Definition at line 102 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

MatrixOp & AbstractLinAlgPack::MatrixOpThyra::operator= const MatrixOp mwo_rhs  )  [virtual]
 

Reimplemented from AbstractLinAlgPack::MatrixOp.

Reimplemented in AbstractLinAlgPack::MultiVectorMutableThyra.

Definition at line 107 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

void AbstractLinAlgPack::MatrixOpThyra::Vp_StMtV VectorMutable v_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2,
value_type  beta
const [virtual]
 

Implements AbstractLinAlgPack::MatrixOp.

Reimplemented in AbstractLinAlgPack::MultiVectorMutableThyra.

Definition at line 118 of file AbstractLinAlgPack_MatrixOpThyra.cpp.

bool AbstractLinAlgPack::MatrixOpThyra::Mp_StMtM MatrixOp mwo_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const MatrixOp mwo_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta
const [virtual]
 

Works for MultiVectorMutableThyra arguments.

Reimplemented from AbstractLinAlgPack::MatrixOp.

Reimplemented in AbstractLinAlgPack::MultiVectorMutableThyra.

Definition at line 143 of file AbstractLinAlgPack_MatrixOpThyra.cpp.


Member Data Documentation

const Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > & AbstractLinAlgPack::MatrixOpThyra::thyra_linear_op [inline, private]
 

Definition at line 150 of file AbstractLinAlgPack_MatrixOpThyra.hpp.

BLAS_Cpp::Transp AbstractLinAlgPack::MatrixOpThyra::thyra_linear_op_trans_ [private]
 

Definition at line 139 of file AbstractLinAlgPack_MatrixOpThyra.hpp.

VectorSpaceThyra AbstractLinAlgPack::MatrixOpThyra::space_cols_ [private]
 

Definition at line 140 of file AbstractLinAlgPack_MatrixOpThyra.hpp.

VectorSpaceThyra AbstractLinAlgPack::MatrixOpThyra::space_rows_ [private]
 

Definition at line 141 of file AbstractLinAlgPack_MatrixOpThyra.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:36:12 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1