42 #ifndef ALAP_VECTOR_MUTABLE_Thyra_HPP
43 #define ALAP_VECTOR_MUTABLE_Thyra_HPP
48 #include "Thyra_VectorBase.hpp"
50 namespace AbstractLinAlgPack {
107 ,
const size_t num_vecs
109 ,
const size_t num_targ_vecs
111 ,RTOpPack::ReductTarget *reduct_obj
148 #ifdef DOXYGEN_COMPILE
173 #endif // ALAP_VECTOR_MUTABLE_Thyra_HPP
void set_sub_vector(const RTOpPack::SparseSubVector &sub_vec)
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
RTOp_index_type index_type
RTOp_value_type value_type
VectorSpace adapter subclass for Thyra::VectorSpaceBase<value_type> .
VectorMutableThyra & operator=(const VectorMutableThyra &)
Thyra::VectorBase< value_type > * thyra_vector
const VectorSpace & space() const
. One-based subregion index range class.
RTOpT< RTOp_value_type > RTOp
Abstract interface for objects that represent a space for mutable coordinate vectors.
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.
This is a base class that is meant to be inherited by Vector subclasses that wish to call TSFCore::ap...
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.
Abstract interface for mutable coordinate vectors {abstract}.
SparseSubVectorT< RTOp_value_type > SparseSubVector
Class for a mutable sub-vector.
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.
Class for a non-mutable sub-vector.
Concrete matrix type to represent general permutation (mapping) matrices.