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" 
Base interface class for SPMD multi-vectors.
 
Base class for SPMD vectors that can provide views of contiguous elements in a process.
 
RTOpPack::ConstSubVectorView< Scalar > getLocalSubVector() const
Get a const generalized view of local vector data.
 
void getNonconstLocalData(const Ptr< ArrayRCP< Scalar > > &localValues)
Returns a non-const pointer to the beginning of the local vector data.
 
void getLocalData(const Ptr< ArrayRCP< const Scalar > > &localValues) const
Returns a const pointer to the beginning of the local vector data.
 
RTOpPack::SubVectorView< Scalar > getNonconstLocalSubVector()
Get a non-const generalized view of local vector data.
 
virtual void getLocalVectorDataImpl(const Ptr< ArrayRCP< const Scalar > > &localValues) const =0
Implementation of getLocalData()
 
virtual RTOpPack::ConstSubVectorView< Scalar > getLocalSubVectorImpl() const =0
Virtual implementation for getLocalSubVector().
 
virtual void getNonconstLocalVectorDataImpl(const Ptr< ArrayRCP< Scalar > > &localValues)=0
Implementation of getNonconstLocalData()
 
virtual RTOpPack::SubVectorView< Scalar > getNonconstLocalSubVectorImpl()=0
Virtual implementation for getNonconstLocalSubVector().
 
Abstract interface for finite-dimensional dense vectors.