Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
Thyra::SerialVectorSpaceConverterBase< ScalarFrom, ScalarTo > Class Template Reference

Node base class for converting serial multi-vectors (and vectors) from one scalar type to another. More...

#include <Thyra_SerialVectorSpaceConverterBase.hpp>

Inheritance diagram for Thyra::SerialVectorSpaceConverterBase< ScalarFrom, ScalarTo >:
Inheritance graph
[legend]

Overridden from VectorSpaceConverterBase

virtual void convert (const MultiVectorBase< ScalarFrom > &mv_from, MultiVectorBase< ScalarTo > *mv_to) const
 

Additional Inherited Members

- Public Member Functions inherited from Thyra::VectorSpaceConverterBase< ScalarFrom, ScalarTo >
virtual ~VectorSpaceConverterBase ()
 
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 ScalarFrom. More...
 
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 ScalarTo. More...
 

Detailed Description

template<class ScalarFrom, class ScalarTo>
class Thyra::SerialVectorSpaceConverterBase< ScalarFrom, ScalarTo >

Node base class for converting serial multi-vectors (and vectors) from one scalar type to another.

This node base class defines the function convert() for all serial vectors. A concrete subclass is created by deriving from this interface and then defining the function createVectorSpace().

Definition at line 62 of file Thyra_SerialVectorSpaceConverterBase.hpp.

Member Function Documentation

template<class ScalarFrom , class ScalarTo >
void Thyra::SerialVectorSpaceConverterBase< ScalarFrom, ScalarTo >::convert ( const MultiVectorBase< ScalarFrom > &  mv_from,
MultiVectorBase< ScalarTo > *  mv_to 
) const
virtual

The documentation for this class was generated from the following file: