42 #ifndef THYRA_SPMD_VECTOR_SPACE_FACTORY_STD_DECL_HPP 43 #define THYRA_SPMD_VECTOR_SPACE_FACTORY_STD_DECL_HPP 45 #include "Thyra_VectorSpaceFactoryBase.hpp" 47 namespace Teuchos {
template<
typename Ordinal>
class Comm; }
66 template<
class Scalar>
71 Teuchos::RCP<const Teuchos::Comm<Ordinal> >
getComm()
const;
92 Teuchos::RCP<const VectorSpaceBase<Scalar> >
createVecSpc(
int dim)
const;
98 Teuchos::RCP<const Teuchos::Comm<Ordinal> > comm_;
104 const Teuchos::RCP<
const Teuchos::Comm<Ordinal> > &comm = Teuchos::null
122 template<
class Scalar>
123 RCP<DefaultSpmdVectorSpaceFactory<Scalar> >
125 const Teuchos::RCP<
const Teuchos::Comm<Ordinal> > &comm = Teuchos::null
136 template<
class Scalar>
138 Teuchos::RCP<const Teuchos::Comm<Ordinal> >
146 #endif // THYRA_SPMD_VECTOR_SPACE_FACTORY_STD_DECL_HPP Teuchos::RCP< const Teuchos::Comm< Ordinal > > getComm() const
Return the Spmd communicator.
Abstract interface for objects that can create vector spaces of a specified dimension.
DefaultSpmdVectorSpaceFactory(const Teuchos::RCP< const Teuchos::Comm< Ordinal > > &comm=Teuchos::null)
Depreciated .
Concrete implementation of a vector-space factory for a locally-replicated distributed DefaultSpmdVec...
Teuchos::RCP< const VectorSpaceBase< Scalar > > createVecSpc(int dim) const
Create a new locally-replicated DefaultSpmdVectorSpace object given its dimension! ...
RCP< DefaultSpmdVectorSpaceFactory< Scalar > > defaultSpmdVectorSpaceFactory(const Teuchos::RCP< const Teuchos::Comm< Ordinal > > &comm=Teuchos::null)
Construct with a Teuchos::Comm object.