42 #ifndef THYRA_VECTOR_SPACE_FACTORY_DECL_HPP 43 #define THYRA_VECTOR_SPACE_FACTORY_DECL_HPP 45 #include "Thyra_OperatorVectorTypes.hpp" 46 #include "Teuchos_Describable.hpp" 61 template<
class Scalar>
62 class VectorSpaceFactoryBase :
virtual public Teuchos::Describable {
88 virtual RCP< const VectorSpaceBase<Scalar> >
createVecSpc(
int dim)
const = 0;
104 #endif // THYRA_VECTOR_SPACE_FACTORY_DECL_HPP virtual ~VectorSpaceFactoryBase()
Abstract interface for objects that can create vector spaces of a specified dimension.
virtual RCP< const VectorSpaceBase< Scalar > > createVecSpc(int dim) const =0
Create a vector space of the given dimension.