42#ifndef THYRA_PRODUCT_VECTOR_BASE_HPP
43#define THYRA_PRODUCT_VECTOR_BASE_HPP
46#include "Thyra_ProductMultiVectorBase.hpp"
145template<
class Scalar>
152 return Teuchos::rcp_dynamic_cast<Thyra::ProductVectorBase<Scalar> >(v,
true);
161template<
class Scalar>
168 return Teuchos::rcp_dynamic_cast<const Thyra::ProductVectorBase<Scalar> >(v,
true);
Base interface for product multi-vectors.
Base interface for product vectors.
RCP< const Thyra::ProductVectorBase< Scalar > > productVectorBase(const RCP< const Thyra::VectorBase< Scalar > > &v)
Dynamic cast from a const VectorBase to a const ProductVectorBase object and thow exception if this f...
RCP< Thyra::ProductVectorBase< Scalar > > nonconstProductVectorBase(const RCP< Thyra::VectorBase< Scalar > > &v)
Dynamic cast from a VectorBase to a ProductVectorBase object and thow exception if this fails.
virtual RCP< VectorBase< Scalar > > getNonconstVectorBlock(const int k)=0
Returns a non-persisting non-const view of the (zero-based) kth block vector.
virtual RCP< const VectorBase< Scalar > > getVectorBlock(const int k) const =0
Returns a non-persisting const view of the (zero-based) kth block vector.
Abstract interface for finite-dimensional dense vectors.