42 #ifndef ALAP_VECTOR_MUTABLE_Thyra_HPP
43 #define ALAP_VECTOR_MUTABLE_Thyra_HPP
45 #include "AbstractLinAlgPack_VectorMutable.hpp"
46 #include "AbstractLinAlgPack_VectorApplyOpSerialBase.hpp"
47 #include "AbstractLinAlgPack_VectorSpaceThyra.hpp"
48 #include "Thyra_VectorBase.hpp"
50 namespace AbstractLinAlgPack {
106 const RTOpPack::RTOp &op
107 ,
const size_t num_vecs
109 ,
const size_t num_targ_vecs
112 ,
const index_type first_ele
113 ,
const index_type sub_dim
114 ,
const index_type global_offset
117 index_type
dim()
const;
148 #ifdef DOXYGEN_COMPILE
173 #endif // ALAP_VECTOR_MUTABLE_Thyra_HPP
void set_sub_vector(const RTOpPack::SparseSubVector &sub_vec)
VectorSpace adapter subclass for Thyra::VectorSpaceBase<value_type> .
const VectorSpace & space() const
void get_sub_vector(const Range1D &rng, RTOpPack::SubVector *sub_vec) const
VectorMutable adapter subclass for Thyra::VectorBase.
void commit_sub_vector(RTOpPack::MutableSubVector *sub_vec)
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
void Vp_StMtV(value_type alpha, const GenPermMatrixSlice &P, BLAS_Cpp::Transp P_trans, const Vector &x, value_type beta)
VectorMutableThyra()
Construct to uninitialized.
void free_sub_vector(RTOpPack::SubVector *sub_vec) const
Teuchos::RCP< Thyra::VectorBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.
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...
void initialize(const Teuchos::RCP< Thyra::VectorBase< value_type > > &thyra_vec)
Initalize given a smart pointer to a Thyra::Vetor object.