Thyra::ProductMultiVectorBase< Scalar > Class Template Reference
[Extended Operator/Vector interfaces]

Base interface for product multi-vectors. More...

#include <Thyra_ProductMultiVectorBase.hpp>

List of all members.

Public Member Functions

virtual Teuchos::RefCountPtr<
const ProductVectorSpaceBase<
Scalar > > 
productSpace () const =0
 Returns the associated product vector space.
virtual Teuchos::RefCountPtr<
MultiVectorBase< Scalar > > 
getBlock (const int k)=0
 Returns a non-persisting non-const view of the (zero-based) kth block multi-vector.
virtual Teuchos::RefCountPtr<
const MultiVectorBase< Scalar > > 
getBlock (const int k) const =0
 Returns a non-persisting const view of the (zero-based) kth block multi-vector.


Detailed Description

template<class Scalar>
class Thyra::ProductMultiVectorBase< Scalar >

Base interface for product multi-vectors.

This class defines an abstract interface for a multi-vector that is built out of the one or more other multi-vectors to form a product multi-vector. This class is only an interface. A standard implementation of this interface that should be sufficient for 99% or so of use cases is provided in the concrete subclass ProductMultiVector.

ToDo: Finish documentation!

Definition at line 50 of file Thyra_ProductMultiVectorBase.hpp.


Member Function Documentation

template<class Scalar>
virtual Teuchos::RefCountPtr<const ProductVectorSpaceBase<Scalar> > Thyra::ProductMultiVectorBase< Scalar >::productSpace  )  const [pure virtual]
 

Returns the associated product vector space.

If *this is uninitialized then return.get()==NULL.

template<class Scalar>
virtual Teuchos::RefCountPtr<MultiVectorBase<Scalar> > Thyra::ProductMultiVectorBase< Scalar >::getBlock const int  k  )  [pure virtual]
 

Returns a non-persisting non-const view of the (zero-based) kth block multi-vector.

Parameters:
k [in] The (zero-based) kth block index specifying which block to access.
Preconditions:

Note that *this is not guaranteed to be modified until the smart pointer returned from this function, as well as any other smart pointers created from this smart pointer, are destroyed. This requirement allows more flexibility in how this function is implemented.

Also note that no further interactions with *this should be performed until the view returned from this function is released as described above.

template<class Scalar>
virtual Teuchos::RefCountPtr<const MultiVectorBase<Scalar> > Thyra::ProductMultiVectorBase< Scalar >::getBlock const int  k  )  const [pure virtual]
 

Returns a non-persisting const view of the (zero-based) kth block multi-vector.

Parameters:
k [in] The (zero-based) ith block index specifying which block to access.
Preconditions:


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:39:53 2008 for Thyra ANA Operator/VectorBase Interfaces and Related Software by doxygen 1.3.9.1