43 #include "AbstractLinAlgPack_MatrixOpNonsingThyra.hpp"
44 #include "AbstractLinAlgPack_VectorMutableThyra.hpp"
45 #include "Thyra_VectorStdOps.hpp"
46 #include "Thyra_MultiVectorStdOps.hpp"
47 #include "Teuchos_Assert.hpp"
48 #include "Teuchos_dyn_cast.hpp"
50 namespace AbstractLinAlgPack {
70 namespace mmp = MemMngPack;
73 ,
"MatrixOpNonsingThyra::initialize(thyra_linear_op_ns): Error!"
84 return tmp_thyra_linear_op_ns;
95 MatrixOp::mat_mut_ptr_t
112 v_lhs==NULL, std::invalid_argument
113 ,
"MatrixOpThyra::Vp_StMtV(...): Error!"
119 Thyra::solve<value_type>(
139 MatrixOpNonsing::mat_mwons_ptr_t
142 return Teuchos::null;
Teuchos::RCP< const Thyra::LinearOpWithSolveBase< value_type > > thyra_linear_op_ns() const
Return a smart pointer to the Thyra::LinearOpWithSolveBase object.
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.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
T_To & dyn_cast(T_From &from)
virtual void initialize(const Teuchos::RCP< 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.
MatrixOpNonsingThyra()
Construct to uninitialized.
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
mat_mut_ptr_t clone()
Overridden to call MatrixOpThyra::clone()
mat_mwons_ptr_t clone_mwons() const
BLAS_Cpp::Transp thyra_linear_op_trans() const
EOpTransp trans_trans(EOpTransp trans1, EOpTransp trans2)
VectorMutable adapter subclass for Thyra::VectorBase.
Teuchos::RCP< const Thyra::LinearOpBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.
Teuchos::RCP< Thyra::VectorBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.
void M_StInvMtM(MatrixOp *m_lhs, value_type alpha, const MatrixNonsing &M_rhs1, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2)
Teuchos::RCP< const Thyra::LinearOpWithSolveBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::LinearOpWithSolveBase object...
void initialize(const Teuchos::RCP< Thyra::VectorBase< value_type > > &thyra_vec)
Initalize given a smart pointer to a Thyra::Vetor object.
const Teuchos::RCP< const Thyra::LinearOpBase< value_type > > & thyra_linear_op() const
Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase object...