52 namespace AbstractLinAlgPack {
60 const Teuchos::RCP<
const Thyra::VectorSpaceBase<value_type> > &thyra_vec_spc
68 const Teuchos::RCP<
const Thyra::VectorSpaceBase<value_type> > &thyra_vec_spc,
72 namespace mmp = MemMngPack;
75 ,
"VectorSpaceThyra::initialize(thyra_vec_spc): Error!"
89 return tmp_thyra_vec_spc;
106 if( thyra_vec_spc->
thyra_vec_spc()->isCompatible(*thyra_vec_spc_) )
113 return thyra_vec_spc_->hasInCoreView();
118 return thyra_vec_spc_->dim();
vec_mut_ptr_t create_member() const
RTOp_index_type index_type
VectorSpace adapter subclass for Thyra::VectorSpaceBase<value_type> .
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
space_fcty_ptr_t small_vec_spc_fcty() const
Teuchos::RCP< const Thyra::VectorSpaceBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::VectorSpaceBase<value_type> obj...
VectorSpaceFactory adapter subclass for Thyra::VectorSpaceBase.
virtual bool is_in_core() const
Returns true if the vectors are in core.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
RTOp_index_type size_type
Abstract interface for objects that represent a space for mutable coordinate vectors.
const Teuchos::RCP< const Thyra::VectorSpaceBase< value_type > > & thyra_vec_spc() const
Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorSpaceBase<value_...
virtual const inner_prod_ptr_t inner_prod() const
Return the smart pointer to the inner product strategy object.
VectorMutable adapter subclass for Thyra::VectorBase.
VectorSpaceThyra()
Construct to uninitialized.
void initialize(const Teuchos::RCP< const Thyra::VectorSpaceBase< value_type > > &thyra_vec_spc, const inner_prod_ptr_t &inner_prod=Teuchos::null)
Initalize given a smart pointer to a Thyra::VetorSpace object.
virtual index_type dim() const =0
Return the dimmension of the vector space.
MultiVectorMutable adapter subclass for Thyra::MultiVectorBase.
bool is_compatible(const VectorSpace &vec_spc) const
Implements the inner product using Thyra::VectorSpaceBase::scalarProd().
space_ptr_t clone() const
multi_vec_mut_ptr_t create_members(size_type num_vecs) const