42 #ifndef THYRA_DEFAULT_SPMD_VECTOR_DECL_HPP
43 #define THYRA_DEFAULT_SPMD_VECTOR_DECL_HPP
46 #include "Thyra_SpmdVectorDefaultBase_decl.hpp"
68 template<
class Scalar>
140 const Scalar*
getPtr()
const;
179 template<
class Scalar>
188 template<
class Scalar>
197 template<
class Scalar>
201 return localValues_.get();
205 template<
class Scalar>
209 return localValues_.get();
213 template<
class Scalar>
224 #endif // THYRA_DEFAULT_SPMD_VECTOR_DECL_HPP
RCP< const SpmdVectorSpaceBase< Scalar > > spmdSpaceImpl() const
void uninitialize(RCP< const SpmdVectorSpaceBase< Scalar > > *spmdSpace=NULL, ArrayRCP< Scalar > *localValues=NULL, Ordinal *stride=NULL)
Set to an uninitialized state.
Base class for SPMD vectors that can provide views of contiguous elements in a process.
void initialize(const RCP< const SpmdVectorSpaceBase< Scalar > > &spmdSpace, const ArrayRCP< Scalar > &localValues, const Ordinal stride)
Initialize.
void getNonconstLocalVectorDataImpl(const Ptr< ArrayRCP< Scalar > > &localValues)
ArrayRCP< Scalar > getRCPtr()
Ordinal getStride() const
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
void getLocalVectorDataImpl(const Ptr< ArrayRCP< const Scalar > > &localValues) const
Efficient concrete implementation subclass for SPMD vectors.
DefaultSpmdVector()
Construct to uninitialized.
RCP< const SpmdVectorSpaceBase< Scalar > > spmdSpace() const
Returns the SPMD vector space object for the range of *this multi-vector.
Base abstract VectorSpaceBase class for all SPMD-based vector spaces.