10 #ifndef THYRA_SPMD_VECTOR_SPACE_BASE_BASE_DECL_HPP
11 #define THYRA_SPMD_VECTOR_SPACE_BASE_BASE_DECL_HPP
13 #include "Thyra_VectorSpaceBase_decl.hpp"
14 #include "Teuchos_Comm.hpp"
99 template<
class Scalar>
100 class SpmdVectorSpaceBase :
virtual public VectorSpaceBase<Scalar> {
139 SpmdVectorSpaceBase<Scalar>&
140 operator=(
const SpmdVectorSpaceBase<Scalar>&);
148 #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.