10 #ifndef THYRA_SPMD_VECTOR_SPACE_BASE_DECL_HPP
11 #define THYRA_SPMD_VECTOR_SPACE_BASE_DECL_HPP
13 #include "Thyra_SpmdVectorSpaceBase.hpp"
14 #include "Thyra_ScalarProdVectorSpaceBase_decl.hpp"
60 template<
class Scalar>
191 const bool isLocallyReplicated =
false);
202 bool isLocallyReplicated_;
210 #endif // THYRA_SPMD_VECTOR_SPACE_BASE_DECL_HPP
Base VectorSpaceBase class for all SPMD vector spaces with contiguous local-to-global indexing...
Teuchos::RCP< const VectorSpaceFactoryBase< Scalar > > smallVecSpcFcty() const
Returns a DefaultSpmdVectorSpaceFactory object that has been given getComm().
bool isCompatible(const VectorSpaceBase< Scalar > &vecSpc) const
Checks the general compatibility of parallel (or serial on one process) Spmd-based vector spaces...
SpmdVectorSpaceDefaultBase()
Abstract interface for objects that represent a space for vectors.
bool isLocallyReplicated() const
Returns true if vector space is locally replicated space.
Ordinal localOffset() const
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...
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
Ordinal dim() const
Returns the sum of the local number of elements on every process.
std::string description() const
Base abstract VectorSpaceBase class for all SPMD-based vector spaces.