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>
163 Teuchos::RCP< const VectorSpaceFactoryBase<Scalar> >
smallVecSpcFcty()
const;
234 bool isLocallyReplicated_;
236 Teuchos::RCP< const VectorSpaceFactoryBase<Scalar> > smallVecSpcFcty_;
242 #endif // THYRA_SPMD_VECTOR_SPACE_BASE_DECL_HPP Base VectorSpaceBase class for all SPMD vector spaces with contiguous local-to-global indexing...
Ordinal localOffset() const
Ordinal dim() const
Returns the sum of the local number of elements on every process.
SpmdVectorSpaceDefaultBase()
Abstract interface for objects that represent a space for vectors.
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. `*.
Teuchos::RCP< const VectorSpaceFactoryBase< Scalar > > smallVecSpcFcty() const
Returns a DefaultSpmdVectorSpaceFactory object that has been given getComm().
bool isLocallyReplicated() const
Returns true if vector space is locally replicated space.
bool isCompatible(const VectorSpaceBase< Scalar > &vecSpc) const
Checks the general compatibility of parallel (or serial on one process) Spmd-based vector spaces...
Base abstract VectorSpaceBase class for all SPMD-based vector spaces.
std::string description() const