MOOCHO/Thyra Adapter Software
Version of the Day
|
MatrixOpNonsing
adapter subclass for Thyra::Nonlin::LinearOpWithSolve
.
More...
#include <AbstractLinAlgPack_MatrixOpNonsingThyra.hpp>
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 |
MatrixOpNonsing
adapter subclass for Thyra::Nonlin::LinearOpWithSolve
.
Definition at line 54 of file AbstractLinAlgPack_MatrixOpNonsingThyra.hpp.
AbstractLinAlgPack::MatrixOpNonsingThyra::MatrixOpNonsingThyra | ( | ) |
Construct to uninitialized.
Postconditioins:
this->thyra_vec().get() == NULL
MatrixOpThyra::MatrixOpThyra()
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.
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.
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:
this->thyra_linear_op_ns().get() == thyra_linear_op_ns.get()
MatrixOpThyra::initialize()
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:
this->thyra_linear_op_ns().get() == NULL
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.
|
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.
|
virtual |
Reimplemented from AbstractLinAlgPack::MatrixOpNonsing.
Definition at line 140 of file AbstractLinAlgPack_MatrixOpNonsingThyra.cpp.