10 #ifndef THYRA_VECTOR_SPACE_CONVERTED_BASE_HPP
11 #define THYRA_VECTOR_SPACE_CONVERTED_BASE_HPP
13 #include "Thyra_OperatorVectorTypes.hpp"
38 template<
class ScalarFrom,
class ScalarTo>
75 #endif // THYRA_VECTOR_SPACE_CONVERTED_BASE_HPP
virtual void convert(const MultiVectorBase< ScalarFrom > &mv_from, MultiVectorBase< ScalarTo > *mv_to) const =0
Copy from a multi-vector (or vector) with one scalar type to another multi-vector (or vector) with an...
virtual Teuchos::RCP< const VectorSpaceBase< ScalarFrom > > createVectorSpaceFrom(const VectorSpaceBase< ScalarTo > &vecSpc) const =0
Create a new vector space with scalar type ScalarFrom given an existing vector space with scalar type...
Abstract interface for objects that represent a space for vectors.
Interface for a collection of column vectors called a multi-vector.
virtual ~VectorSpaceConverterBase()
Base interface for a factory that converts vector space types and vectors and multi-vectors from one ...
virtual Teuchos::RCP< const VectorSpaceBase< ScalarTo > > createVectorSpaceTo(const VectorSpaceBase< ScalarFrom > &vecSpc) const =0
Create a new vector space with scalar type ScalarTo given an existing vector space with scalar type S...