AbstractLinAlgPack::MatrixOpNonsingThyra Class Reference

MatrixOpNonsing adapter subclass for Thyra::Nonlin::LinearOpWithSolve. More...

#include <AbstractLinAlgPack_MatrixOpNonsingThyra.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixOpNonsingThyra:

[legend]
List of all members.

Constructors / Initializers

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

Overridden from MatrixOp (needed to remove ambiguities)

mat_mut_ptr_t clone ()
 Overridden to call MatrixOpThyra::clone().

Overridden from MatrixNonsing

void V_InvMtV (VectorMutable *v_lhs, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2) const
 
void M_StInvMtM (MatrixOp *m_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2) const
 

Overridden from MatrixOpNonsing

mat_mwons_ptr_t clone_mwons () const
 

Detailed Description

MatrixOpNonsing adapter subclass for Thyra::Nonlin::LinearOpWithSolve.

Definition at line 41 of file AbstractLinAlgPack_MatrixOpNonsingThyra.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixOpNonsingThyra::MatrixOpNonsingThyra  ) 
 

Construct to uninitialized.

Postconditioins:

Definition at line 39 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

AbstractLinAlgPack::MatrixOpNonsingThyra::MatrixOpNonsingThyra const Teuchos::RefCountPtr< const Thyra::LinearOpWithSolveBase< value_type > > &  thyra_linear_op_ns,
BLAS_Cpp::Transp  thyra_linear_op_trans = BLAS_Cpp::no_trans
 

Calls this->initialize().

Definition at line 42 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.


Member Function Documentation

void AbstractLinAlgPack::MatrixOpNonsingThyra::initialize const Teuchos::RefCountPtr< const Thyra::LinearOpWithSolveBase< value_type > > &  thyra_linear_op_ns,
BLAS_Cpp::Transp  thyra_linear_op_trans = BLAS_Cpp::no_trans
 

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

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

Postconditioins:

Definition at line 50 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

Teuchos::RefCountPtr< const Thyra::LinearOpWithSolveBase< value_type > > AbstractLinAlgPack::MatrixOpNonsingThyra::set_uninitialized  ) 
 

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

Postconditioins:

Note that his nonvirtual function hides the nonvirtual function MatrixOpThyra::set_uninitialized().

Reimplemented from AbstractLinAlgPack::MatrixOpThyra.

Definition at line 64 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

Teuchos::RefCountPtr< const Thyra::LinearOpWithSolveBase< value_type > > AbstractLinAlgPack::MatrixOpNonsingThyra::thyra_linear_op_ns  )  const
 

Return a smart pointer to the Thyra::LinearOpWithSolveBase object.

Definition at line 73 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

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

Overridden to call MatrixOpThyra::clone().

Reimplemented from AbstractLinAlgPack::MatrixOpNonsing.

Definition at line 81 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

void AbstractLinAlgPack::MatrixOpNonsingThyra::V_InvMtV VectorMutable v_lhs,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2
const [virtual]
 

Implements AbstractLinAlgPack::MatrixNonsing.

Definition at line 88 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

void AbstractLinAlgPack::MatrixOpNonsingThyra::M_StInvMtM MatrixOp m_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const MatrixOp mwo_rhs2,
BLAS_Cpp::Transp  trans_rhs2
const [virtual]
 

Reimplemented from AbstractLinAlgPack::MatrixNonsing.

Definition at line 113 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

MatrixOpNonsing::mat_mwons_ptr_t AbstractLinAlgPack::MatrixOpNonsingThyra::clone_mwons  )  const [virtual]
 

Reimplemented from AbstractLinAlgPack::MatrixOpNonsing.

Definition at line 125 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:34:38 2008 for MOOCHO/Thyra Adapter Software by doxygen 1.3.9.1