Thyra::DefaultProductVector< Scalar > Class Template Reference
[Development of linear Abstract Numerical Algorithms (ANAs)]

Concrete implementation of a product vector. More...

#include <Thyra_DefaultProductVectorDecl.hpp>

Inheritance diagram for Thyra::DefaultProductVector< Scalar >:

[legend]
List of all members.

Constructors/initializers/accessors

 DefaultProductVector (const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &productSpace)
 . Constructs to initialized (calls initialize()).
 DefaultProductVector (const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RefCountPtr< VectorBase< Scalar > > vecs[])
 . Constructs to initialized (calls initialize()).
 DefaultProductVector (const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RefCountPtr< const VectorBase< Scalar > > vecs[])
 . Constructs to initialized (calls initialize()).
void initialize (const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &productSpace)
 Initialize.
void initialize (const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RefCountPtr< VectorBase< Scalar > > vecs[])
 Initialize.
void initialize (const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RefCountPtr< const VectorBase< Scalar > > vecs[])
 Initialize.
void uninitialize ()
 Uninitialize.

Overridden from ProductVectorBase

Teuchos::RefCountPtr< VectorBase<
Scalar > > 
getNonconstVectorBlock (const int k)
 
Teuchos::RefCountPtr< const
VectorBase< Scalar > > 
getVectorBlock (const int k) const
 

Overridden from ProductMultiVectorBase

Teuchos::RefCountPtr< const
ProductVectorSpaceBase< Scalar > > 
productSpace () const
 
bool blockIsConst (const int k) const
 
Teuchos::RefCountPtr< MultiVectorBase<
Scalar > > 
getNonconstMultiVectorBlock (const int k)
 
Teuchos::RefCountPtr< const
MultiVectorBase< Scalar > > 
getMultiVectorBlock (const int k) const
 

Overridden from VectorBase

Teuchos::RefCountPtr< const
VectorSpaceBase< Scalar > > 
space () const
 
void applyOp (const RTOpPack::RTOpT< Scalar > &op, const int num_vecs, const VectorBase< Scalar > *const vecs[], const int num_targ_vecs, VectorBase< Scalar > *const targ_vecs[], RTOpPack::ReductTarget *reduct_obj, const Index first_ele, const Index sub_dim, const Index global_offset) const
 
void acquireDetachedView (const Range1D &rng, RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 
void releaseDetachedView (RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 
void acquireDetachedView (const Range1D &rng, RTOpPack::SubVectorView< Scalar > *sub_vec)
 
void commitDetachedView (RTOpPack::SubVectorView< Scalar > *sub_vec)
 
void setSubVector (const RTOpPack::SparseSubVectorT< Scalar > &sub_vec)
 

Detailed Description

template<class Scalar>
class Thyra::DefaultProductVector< Scalar >

Concrete implementation of a product vector.

Note that clients should almost never be creating objects of this type explicitly and should instead use DefaultProductVectorSpace as a factory.

ToDo: Finish documentation!

The default constructor is made private to avoid accidental default construction.

Definition at line 55 of file Thyra_DefaultProductVectorDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::DefaultProductVector< Scalar >::DefaultProductVector const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &  productSpace  ) 
 

. Constructs to initialized (calls initialize()).

Definition at line 47 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Thyra::DefaultProductVector< Scalar >::DefaultProductVector const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const Teuchos::RefCountPtr< VectorBase< Scalar > >  vecs[]
 

. Constructs to initialized (calls initialize()).

Definition at line 55 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Thyra::DefaultProductVector< Scalar >::DefaultProductVector const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const Teuchos::RefCountPtr< const VectorBase< Scalar > >  vecs[]
 

. Constructs to initialized (calls initialize()).


Member Function Documentation

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::initialize const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &  productSpace  ) 
 

Initialize.

ToDo: Finish documentation.

Definition at line 73 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::initialize const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const Teuchos::RefCountPtr< VectorBase< Scalar > >  vecs[]
 

Initialize.

ToDo: Finish documentation.

Definition at line 86 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::initialize const Teuchos::RefCountPtr< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const Teuchos::RefCountPtr< const VectorBase< Scalar > >  vecs[]
 

Initialize.

ToDo: Finish documentation.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::uninitialize  ) 
 

Uninitialize.

ToDo: Finish documentation.

Definition at line 114 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Teuchos::RefCountPtr< VectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getNonconstVectorBlock const int  k  )  [virtual]
 

Implements Thyra::ProductVectorBase< Scalar >.

Definition at line 125 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const VectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getVectorBlock const int  k  )  const [virtual]
 

Implements Thyra::ProductVectorBase< Scalar >.

Definition at line 133 of file Thyra_DefaultProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 143 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
bool Thyra::DefaultProductVector< Scalar >::blockIsConst const int  k  )  const [virtual]
 

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 149 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Teuchos::RefCountPtr< MultiVectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getNonconstMultiVectorBlock const int  k  )  [virtual]
 

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 157 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const MultiVectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getMultiVectorBlock const int  k  )  const [virtual]
 

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 184 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > Thyra::DefaultProductVector< Scalar >::space  )  const
 

Definition at line 193 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::applyOp const RTOpPack::RTOpT< Scalar > &  op,
const int  num_vecs,
const VectorBase< Scalar > *const   vecs[],
const int  num_targ_vecs,
VectorBase< Scalar > *const   targ_vecs[],
RTOpPack::ReductTarget reduct_obj,
const Index  first_ele,
const Index  sub_dim,
const Index  global_offset
const
 

Definition at line 199 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::acquireDetachedView const Range1D rng,
RTOpPack::ConstSubVectorView< Scalar > *  sub_vec
const [virtual]
 

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 363 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::releaseDetachedView RTOpPack::ConstSubVectorView< Scalar > *  sub_vec  )  const [virtual]
 

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 397 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::acquireDetachedView const Range1D rng,
RTOpPack::SubVectorView< Scalar > *  sub_vec
[virtual]
 

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 424 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::commitDetachedView RTOpPack::SubVectorView< Scalar > *  sub_vec  )  [virtual]
 

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 458 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::setSubVector const RTOpPack::SparseSubVectorT< Scalar > &  sub_vec  )  [virtual]
 

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 485 of file Thyra_DefaultProductVector.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:32:33 2008 for Thyra Operator/Vector Support by doxygen 1.3.9.1