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"
92 template<
class Scalar>
223 const bool isLocallyReplicated =
false);
234 bool isLocallyReplicated_;
242 #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.