42#ifndef THYRA_SPMD_VECTOR_SPACE_BASE_DECL_HPP
43#define THYRA_SPMD_VECTOR_SPACE_BASE_DECL_HPP
45#include "Thyra_SpmdVectorSpaceBase.hpp"
46#include "Thyra_ScalarProdVectorSpaceBase_decl.hpp"
234 bool isLocallyReplicated_;
Base abstract VectorSpaceBase class for all SPMD-based vector spaces.
Base VectorSpaceBase class for all SPMD vector spaces with contiguous local-to-global indexing.
virtual void updateState(const Ordinal globalDim, const bool isLocallyReplicated=false)
This function must be called whenever the state of this changes and some internal state must be updat...
std::string description() const
Teuchos::RCP< const VectorSpaceFactoryBase< Scalar > > smallVecSpcFcty() const
Returns a DefaultSpmdVectorSpaceFactory object that has been given getComm().
Ordinal localOffset() const
bool isLocallyReplicated() const
Returns true if vector space is locally replicated space.
SpmdVectorSpaceDefaultBase()
Ordinal dim() const
Returns the sum of the local number of elements on every process.
bool isCompatible(const VectorSpaceBase< Scalar > &vecSpc) const
Checks the general compatibility of parallel (or serial on one process) Spmd-based vector spaces.
Abstract interface for objects that represent a space for vectors.
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.