42 #ifndef THYRA_SERIAL_VECTOR_SPACE_CONVERTED_BASE_HPP 43 #define THYRA_SERIAL_VECTOR_SPACE_CONVERTED_BASE_HPP 45 #include "Thyra_VectorSpaceConverterBase.hpp" 46 #include "Thyra_DetachedMultiVectorView.hpp" 61 template<
class ScalarFrom,
class ScalarTo>
84 template<
class ScalarFrom,
class ScalarTo>
91 TEUCHOS_TEST_FOR_EXCEPT(mv_to==NULL);
96 TEUCHOS_TEST_FOR_EXCEPT(emv_from.
subDim() != emv_to.
subDim());
101 emv_to(i,j) = emv_from(i,j);
110 #endif // THYRA_SERIAL_VECTOR_SPACE_CONVERTED_BASE_HPP Create an explicit non-mutable (const) view of a MultiVectorBase object.
Node base class for converting serial multi-vectors (and vectors) from one scalar type to another...
Create an explicit mutable (non-const) view of a MultiVectorBase object.
virtual void convert(const MultiVectorBase< ScalarFrom > &mv_from, MultiVectorBase< ScalarTo > *mv_to) const
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
Ordinal numSubCols() const
Interface for a collection of column vectors called a multi-vector.
Ordinal numSubCols() const
Base interface for a factory that converts vector space types and vectors and multi-vectors from one ...