MOOCHO/Thyra Adapter Software  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
AbstractLinAlgPack::MatrixOpNonsingThyra Class Reference

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

#include <AbstractLinAlgPack_MatrixOpNonsingThyra.hpp>

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

Constructors / Initializers

 MatrixOpNonsingThyra ()
 Construct to uninitialized. More...
 
 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(). More...
 
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. More...
 
Teuchos::RCP< const
Thyra::LinearOpWithSolveBase
< value_type > > 
set_uninitialized ()
 Set to uninitialized and return smart pointer to the internal Thyra::LinearOpWithSolveBase object. More...
 
Teuchos::RCP< const
Thyra::LinearOpWithSolveBase
< value_type > > 
thyra_linear_op_ns () const
 Return a smart pointer to the Thyra::LinearOpWithSolveBase object. More...
 

Overridden from MatrixOp (needed to remove ambiguities)

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

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 54 of file AbstractLinAlgPack_MatrixOpNonsingThyra.hpp.

Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixOpNonsingThyra::MatrixOpNonsingThyra ( )

Construct to uninitialized.

Postconditioins:

Definition at line 54 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 57 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 65 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().

Definition at line 79 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 88 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 96 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

void AbstractLinAlgPack::MatrixOpNonsingThyra::V_InvMtV ( VectorMutable v_lhs,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2 
) const

Definition at line 103 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

Definition at line 128 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.

MatrixOpNonsing::mat_mwons_ptr_t AbstractLinAlgPack::MatrixOpNonsingThyra::clone_mwons ( ) const
virtual

The documentation for this class was generated from the following files: