#include <Thyra_ProductVectorBase.hpp>
Inheritance diagram for Thyra::ProductVectorBase< Scalar >:
Public Member Functions | |
| virtual Teuchos::RCP< VectorBase< Scalar > > | getNonconstVectorBlock (const int k)=0 |
Returns a non-persisting non-const view of the (zero-based) kth block vector. | |
| virtual Teuchos::RCP< const VectorBase< Scalar > > | getVectorBlock (const int k) const =0 |
Returns a non-persisting const view of the (zero-based) kth block vector. | |
This class defines an abstract interface for a vector that is built out of the one or more other vectors to form what mathematicians like to call a "product vector".
A product vector is simply the concatenation of two or more vectors to form a larger "composite" vector. Specifically, a product vector with numBlock constituent block vectors represents the blocked vector
[ v[0] ]
[ v[1] ]
this = [ . ]
[ v[numBlocks-1] ]
The constituent vectors v[k] can be accessed through the const and non-const access functions getBlock().
A product vector knows its product space which is returned by the productSpace() function. A ProductVectorBase object is created by a ProductVectorSpaceBase object and never directly created by clients.
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 DefaultProductVector.
|
||||||||||
|
Returns a non-persisting non-
Note that
Also note that no further interactions with |
|
||||||||||
|
Returns a non-persisting
|
1.3.9.1