10 #ifndef THYRA_SPMD_VECTOR_BASE_DECL_HPP
11 #define THYRA_SPMD_VECTOR_BASE_DECL_HPP
14 #include "Thyra_VectorBase.hpp"
15 #include "Thyra_SpmdMultiVectorBase.hpp"
33 template<
class Scalar>
130 #endif // THYRA_SPMD_VECTOR_BASE_DECL_HPP
Base interface class for SPMD multi-vectors.
Base class for SPMD vectors that can provide views of contiguous elements in a process.
virtual RTOpPack::SubVectorView< Scalar > getNonconstLocalSubVectorImpl()=0
Virtual implementation for getNonconstLocalSubVector().
RTOpPack::ConstSubVectorView< Scalar > getLocalSubVector() const
Get a const generalized view of local vector data.
virtual RTOpPack::ConstSubVectorView< Scalar > getLocalSubVectorImpl() const =0
Virtual implementation for getLocalSubVector().
RTOpPack::SubVectorView< Scalar > getNonconstLocalSubVector()
Get a non-const generalized view of local vector data.
Abstract interface for finite-dimensional dense vectors.
void getLocalData(const Ptr< ArrayRCP< const Scalar > > &localValues) const
Returns a const pointer to the beginning of the local vector data.
virtual void getNonconstLocalVectorDataImpl(const Ptr< ArrayRCP< Scalar > > &localValues)=0
Implementation of getNonconstLocalData()
virtual void getLocalVectorDataImpl(const Ptr< ArrayRCP< const Scalar > > &localValues) const =0
Implementation of getLocalData()
void getNonconstLocalData(const Ptr< ArrayRCP< Scalar > > &localValues)
Returns a non-const pointer to the beginning of the local vector data.