|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
Abstract interface for objects that can create vector spaces of a specified dimension. More...
#include <Thyra_VectorSpaceFactoryBase.hpp>

Public Member Functions | |
| virtual | ~VectorSpaceFactoryBase () |
| | |
Private Member Functions | |
| VectorSpaceFactoryBase< Scalar > & | operator= (const VectorSpaceFactoryBase< Scalar > &) |
Public pure virtual functions that must be overridden | |
| virtual RCP< const VectorSpaceBase< Scalar > > | createVecSpc (int dim) const =0 |
| Create a vector space of the given dimension. | |
Abstract interface for objects that can create vector spaces of a specified dimension.
The primary role that a VectorSpaceFactoryBase object takes is defined in the documentation for the class VectorSpaceBase and is related to the domain space of MultiVectorBase objects. However, this is a general factory interface class that can be used to create almost any VectorSpaceBase object just given a dimension.
Definition at line 49 of file Thyra_VectorSpaceFactoryBase.hpp.
| virtual Thyra::VectorSpaceFactoryBase< Scalar >::~VectorSpaceFactoryBase | ( | ) | [inline, virtual] |
Definition at line 53 of file Thyra_VectorSpaceFactoryBase.hpp.
| virtual RCP< const VectorSpaceBase<Scalar> > Thyra::VectorSpaceFactoryBase< Scalar >::createVecSpc | ( | int | dim | ) | const [pure virtual] |
Create a vector space of the given dimension.
| dim | [in] The dimension of the vector space to create. |
Preconditions:
dim > 0 (throw std::invalid_argument). Postconditions:
return.get() != NULL return->dim() == dim Implemented in Thyra::DefaultSpmdVectorSpaceFactory< Scalar >.
| VectorSpaceFactoryBase<Scalar>& Thyra::VectorSpaceFactoryBase< Scalar >::operator= | ( | const VectorSpaceFactoryBase< Scalar > & | ) | [private] |
1.7.4