42 #ifndef THYRA_SPMD_VECTOR_SPACE_BASE_BASE_DECL_HPP
43 #define THYRA_SPMD_VECTOR_SPACE_BASE_BASE_DECL_HPP
45 #include "Thyra_VectorSpaceBase_decl.hpp"
46 #include "Teuchos_Comm.hpp"
131 template<
class Scalar>
132 class SpmdVectorSpaceBase :
virtual public VectorSpaceBase<Scalar> {
171 SpmdVectorSpaceBase<Scalar>&
172 operator=(
const SpmdVectorSpaceBase<Scalar>&);
180 #endif // THYRA_SPMD_VECTOR_SPACE_BASE_BASE_DECL_HPP
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
virtual Teuchos::RCP< const Teuchos::Comm< Ordinal > > getComm() const =0
Returns the SPMD communicator.
virtual Ordinal localOffset() const =0
Returns the offset for the local sub-vector stored on this process.
virtual bool isLocallyReplicated() const =0
Returns true if vector space is locally replicated space.
virtual Ordinal localSubDim() const =0
Returns the number of local elements stored on this process.
virtual Ordinal mapCode() const =0
Returns the code for the mapping of elements to processes.