MOOCHO/Thyra Adapter Software
Version of the Day
|
MatrixOp
adapter subclass for Thyra::LinearOpBase
.
More...
#include <AbstractLinAlgPack_MatrixOpThyra.hpp>
Constructors / Initializers | |
MatrixOpThyra () | |
Construct to uninitialized. More... | |
MatrixOpThyra (const Teuchos::RCP< const Thyra::LinearOpBase< value_type > > &thyra_linear_op, BLAS_Cpp::Transp thyra_linear_op_trans=BLAS_Cpp::no_trans) | |
Calls this->initialize() . More... | |
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. More... | |
Teuchos::RCP< const Thyra::LinearOpBase < value_type > > | set_uninitialized () |
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object. More... | |
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. More... | |
BLAS_Cpp::Transp | thyra_linear_op_trans () const |
Overridden from MatrixBase | |
const VectorSpace & | space_cols () const |
const VectorSpace & | space_rows () const |
Overridden from MatrixOp | |
mat_mut_ptr_t | clone () |
MatrixOp & | operator= (const MatrixOp &mwo_rhs) |
void | Vp_StMtV (VectorMutable *v_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2, value_type beta) const |
bool | Mp_StMtM (MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta) const |
Works for MultiVectorMutableThyra arguments. More... | |
MatrixOp
adapter subclass for Thyra::LinearOpBase
.
Definition at line 53 of file AbstractLinAlgPack_MatrixOpThyra.hpp.
AbstractLinAlgPack::MatrixOpThyra::MatrixOpThyra | ( | ) |
Construct to uninitialized.
Postconditioins:
Definition at line 54 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
AbstractLinAlgPack::MatrixOpThyra::MatrixOpThyra | ( | const Teuchos::RCP< const Thyra::LinearOpBase< value_type > > & | thyra_linear_op, |
BLAS_Cpp::Transp | thyra_linear_op_trans = BLAS_Cpp::no_trans |
||
) |
Calls this->initialize()
.
Definition at line 57 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
|
virtual |
Initalize given a smart pointer to a Thyra::LinearOpBase
object.
thyra_linear_op | [in] Smart pointer to Thyra vector this will adapt. |
Preconditioins:
thyra_linear_op.get() != NULL
(throw std::invalid_argument
) thyra_linear_op->opSupported(Thyra::NOTRANS) && thyra_linear_op->opSupported(Thyra::TRANS) (throw std::invalid_argument
)
Postconditioins:
this->thyra_linear_op().get() == thyra_linear_op.get()
this->thyra_linear_op_trans() == thyra_linear_op_trans
this->rows() == thyra_linear_op->range()->dim()
this->cols() == thyra_linear_op->domain()->dim()
Definition at line 65 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
Teuchos::RCP< const Thyra::LinearOpBase< value_type > > AbstractLinAlgPack::MatrixOpThyra::set_uninitialized | ( | ) |
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase
object.
Postconditioins:
this->thyra_linear_op().get() == NULL
Definition at line 88 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
const Teuchos::RCP<const Thyra::LinearOpBase<value_type> >& AbstractLinAlgPack::MatrixOpThyra::thyra_linear_op | ( | ) | const |
Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase
object.
If this->thyra_linear_op().count() == 1
, then this
has sole ownership of the *this->thyra_linear_op()
object.
|
inline |
Definition at line 169 of file AbstractLinAlgPack_MatrixOpThyra.hpp.
|
virtual |
Implements AbstractLinAlgPack::MatrixBase.
Definition at line 101 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
|
virtual |
Implements AbstractLinAlgPack::MatrixBase.
Definition at line 107 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::MatrixOp.
Reimplemented in AbstractLinAlgPack::MultiVectorMutableThyra.
Definition at line 115 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
Reimplemented from AbstractLinAlgPack::MatrixOp.
Reimplemented in AbstractLinAlgPack::MultiVectorMutableThyra.
Definition at line 120 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
|
virtual |
Implements AbstractLinAlgPack::MatrixOp.
Reimplemented in AbstractLinAlgPack::MultiVectorMutableThyra.
Definition at line 131 of file AbstractLinAlgPack_MatrixOpThyra.cpp.
|
virtual |
Works for MultiVectorMutableThyra
arguments.
Reimplemented from AbstractLinAlgPack::MatrixOp.
Reimplemented in AbstractLinAlgPack::MultiVectorMutableThyra.
Definition at line 156 of file AbstractLinAlgPack_MatrixOpThyra.cpp.