MOOCHO/Thyra Adapter Software
Version of the Day
|
VectorMutable
adapter subclass for Thyra::VectorBase
.
More...
#include <AbstractLinAlgPack_VectorMutableThyra.hpp>
Constructors / Initializers | |
VectorMutableThyra () | |
Construct to uninitialized. More... | |
VectorMutableThyra (const Teuchos::RCP< Thyra::VectorBase< value_type > > &thyra_vec) | |
Calls this->initialize() . More... | |
void | initialize (const Teuchos::RCP< Thyra::VectorBase< value_type > > &thyra_vec) |
Initalize given a smart pointer to a Thyra::Vetor object. More... | |
Teuchos::RCP < Thyra::VectorBase < value_type > > | set_uninitialized () |
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object. More... | |
Teuchos::RCP< const Thyra::VectorBase< value_type > > | thyra_vec () const |
Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase object. More... | |
Methods overridden from Vector | |
const VectorSpace & | space () const |
void | apply_op (const RTOpPack::RTOp &op, const size_t num_vecs, const Vector *vecs[], const size_t num_targ_vecs, VectorMutable *targ_vecs[], RTOpPack::ReductTarget *reduct_obj, const index_type first_ele, const index_type sub_dim, const index_type global_offset) const |
index_type | dim () const |
void | get_sub_vector (const Range1D &rng, RTOpPack::SubVector *sub_vec) const |
void | free_sub_vector (RTOpPack::SubVector *sub_vec) const |
Methods overridden from VectorMutable | |
void | get_sub_vector (const Range1D &rng, RTOpPack::MutableSubVector *sub_vec) |
void | commit_sub_vector (RTOpPack::MutableSubVector *sub_vec) |
void | set_sub_vector (const RTOpPack::SparseSubVector &sub_vec) |
void | Vp_StMtV (value_type alpha, const GenPermMatrixSlice &P, BLAS_Cpp::Transp P_trans, const Vector &x, value_type beta) |
VectorMutable
adapter subclass for Thyra::VectorBase
.
Definition at line 54 of file AbstractLinAlgPack_VectorMutableThyra.hpp.
AbstractLinAlgPack::VectorMutableThyra::VectorMutableThyra | ( | ) |
Construct to uninitialized.
Postconditioins:
this->thyra_vec().get() == NULL
Definition at line 58 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
AbstractLinAlgPack::VectorMutableThyra::VectorMutableThyra | ( | const Teuchos::RCP< Thyra::VectorBase< value_type > > & | thyra_vec | ) |
Calls this->initialize()
.
Definition at line 61 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
void AbstractLinAlgPack::VectorMutableThyra::initialize | ( | const Teuchos::RCP< Thyra::VectorBase< value_type > > & | thyra_vec | ) |
Initalize given a smart pointer to a Thyra::Vetor
object.
thyra_vec | [in] Smart pointer to Thyra vector this will adapt. |
Preconditioins:
thyra_vec.get() != NULL
(throw std::invalid_argument
) Postconditioins:
this->thyra_vec().get() == thyra_vec.get()
Definition at line 68 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
Teuchos::RCP< Thyra::VectorBase< value_type > > AbstractLinAlgPack::VectorMutableThyra::set_uninitialized | ( | ) |
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase
object.
Postconditioins:
this->thyra_vec().get() == NULL
Definition at line 83 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
inline |
Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase
object.
If this->thyra_vec().count() == 2
, then this
has so ownership of the *this->thyra_vec()
object.
Definition at line 166 of file AbstractLinAlgPack_VectorMutableThyra.hpp.
|
virtual |
Implements AbstractLinAlgPack::Vector.
Definition at line 95 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Implements AbstractLinAlgPack::Vector.
Definition at line 100 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::Vector.
Definition at line 163 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::Vector.
Definition at line 168 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::Vector.
Definition at line 177 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::VectorMutable.
Definition at line 188 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::VectorMutable.
Definition at line 195 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::VectorMutable.
Definition at line 203 of file AbstractLinAlgPack_VectorMutableThyra.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::VectorMutable.
Definition at line 209 of file AbstractLinAlgPack_VectorMutableThyra.cpp.