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" 
Base abstract VectorSpaceBase class for all SPMD-based vector spaces.
 
virtual Ordinal localSubDim() const =0
Returns the number of local elements stored on this process.
 
virtual Teuchos::RCP< const Teuchos::Comm< Ordinal > > getComm() const =0
Returns the SPMD communicator.
 
virtual Ordinal mapCode() const =0
Returns the code for the mapping of elements to processes.
 
virtual bool isLocallyReplicated() const =0
Returns true if vector space is locally replicated space.
 
virtual Ordinal localOffset() const =0
Returns the offset for the local sub-vector stored on this process.
 
Abstract interface for objects that represent a space for vectors.
 
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.