DefaultSpmdVectorSpace objects.
More...
#include <Thyra_DefaultSpmdVectorSpaceFactoryDecl.hpp>
Inheritance diagram for Thyra::DefaultSpmdVectorSpaceFactory< Scalar >:
Overridden from VectorSpaceFactoryBase | |
| Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > | createVecSpc (int dim) const |
Create a new locally-replicated DefaultSpmdVectorSpace object given its dimension! | |
Public Member Functions | |
| DefaultSpmdVectorSpaceFactory (const Teuchos::RefCountPtr< const Teuchos::Comm< Index > > &comm=Teuchos::null) | |
Construct with a Teuchos::Comm object. | |
| Teuchos::RefCountPtr< const Teuchos::Comm< Index > > | getComm () const |
| Return the Spmd communicator. | |
DefaultSpmdVectorSpace objects.
This will create either serial independent (comm.get()==NULL) or locally replicated (comm.get()!=NULL) vector space objects (see createVecSpc()). The primary motivation for this subclass is to create locally replicated vector spaces for the domain space of DefaultSpmdMultiVector. In addition, an object of this type is also returned from SpmdVectorSpaceDefaultBase::smallVecSpcFtcy().
Note that the default constructor is not allowed to avoid mistakes in using this class.
Definition at line 54 of file Thyra_DefaultSpmdVectorSpaceFactoryDecl.hpp.
|
||||||||||
|
Construct with a
Definition at line 39 of file Thyra_DefaultSpmdVectorSpaceFactory.hpp. |
|
|||||||||
|
Return the Spmd communicator.
Definition at line 110 of file Thyra_DefaultSpmdVectorSpaceFactoryDecl.hpp. |
|
||||||||||
|
Create a new locally-replicated
return Teuchos::rcp(new DefaultSpmdVectorSpace(this->getComm(),dim,dim))</tt>
and therefore Implements Thyra::VectorSpaceFactoryBase< Scalar >. Definition at line 47 of file Thyra_DefaultSpmdVectorSpaceFactory.hpp. |
1.3.9.1