MOOCHO (Single Doxygen Collection) Version of the Day
AbstractLinAlgPack::MatrixOpNonsingThyra Class Reference

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

#include <AbstractLinAlgPack_MatrixOpNonsingThyra.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixOpNonsingThyra:
Inheritance graph
[legend]

List of all members.

Constructors / Initializers

 MatrixOpNonsingThyra ()
 Construct to uninitialized.
 MatrixOpNonsingThyra (const Teuchos::RCP< 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::RCP< 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::RCP< const
Thyra::LinearOpWithSolveBase
< value_type > > 
set_uninitialized ()
 Set to uninitialized and return smart pointer to the internal Thyra::LinearOpWithSolveBase object.
Teuchos::RCP< 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 41 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

AbstractLinAlgPack::MatrixOpNonsingThyra::MatrixOpNonsingThyra ( const Teuchos::RCP< 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 44 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.


Member Function Documentation

void AbstractLinAlgPack::MatrixOpNonsingThyra::initialize ( const Teuchos::RCP< 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 52 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

Teuchos::RCP< 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 66 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

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

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

Definition at line 75 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 83 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

void AbstractLinAlgPack::MatrixOpNonsingThyra::V_InvMtV ( VectorMutable v_lhs,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2 
) const [virtual]
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]
MatrixOpNonsing::mat_mwons_ptr_t AbstractLinAlgPack::MatrixOpNonsingThyra::clone_mwons ( ) const [virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines