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::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace)
 . Constructs to initialized (calls initialize()).
 DefaultProductVector (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RCP< VectorBase< Scalar > > vecs[])
 . Constructs to initialized (calls initialize()).
 DefaultProductVector (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RCP< const VectorBase< Scalar > > vecs[])
 . Constructs to initialized (calls initialize()).
void initialize (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace)
 Initialize.
void initialize (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RCP< VectorBase< Scalar > > vecs[])
 Initialize.
void initialize (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RCP< const VectorBase< Scalar > > vecs[])
 Initialize.
void uninitialize ()
 Uninitialize.

Overridden from Teuchos::Describable

std::string description () const
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
 

Overridden from ProductVectorBase

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

Extensions to ProductVectorBase suitable for physically-blocked vectors

void setBlock (int i, const Teuchos::RCP< const VectorBase< Scalar > > &b)
void setNonconstBlock (int i, const Teuchos::RCP< VectorBase< Scalar > > &b)

Overridden from ProductMultiVectorBase

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

Overridden from VectorBase

Teuchos::RCP< 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 acquireDetachedVectorViewImpl (const Range1D &rng, RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 
void releaseDetachedVectorViewImpl (RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 
void acquireNonconstDetachedVectorViewImpl (const Range1D &rng, RTOpPack::SubVectorView< Scalar > *sub_vec)
 
void commitNonconstDetachedVectorViewImpl (RTOpPack::SubVectorView< Scalar > *sub_vec)
 
void setSubVector (const RTOpPack::SparseSubVectorT< Scalar > &sub_vec)
 

Protected Member Functions

 DefaultProductVector ()

Related Functions

(Note that these are not member functions.)

Teuchos::RCP< DefaultProductVector<
Scalar > > 
defaultProductVector (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace)
 Nonmember constructor.
Teuchos::RCP< DefaultProductVector<
Scalar > > 
defaultProductVector (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::RCP< VectorBase< Scalar > > vecs[])
 Nonmember constructor.
Teuchos::RCP< DefaultProductVector<
Scalar > > 
defaultProductVector (const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const Teuchos::Array< Teuchos::RCP< const VectorBase< Scalar > > > &vecs)
 Nonmember constructor.

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 59 of file Thyra_DefaultProductVectorDecl.hpp.


Constructor & Destructor Documentation

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

. Constructs to initialized (calls initialize()).

Definition at line 52 of file Thyra_DefaultProductVector.hpp.

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

. Constructs to initialized (calls initialize()).

Definition at line 61 of file Thyra_DefaultProductVector.hpp.

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

. Constructs to initialized (calls initialize()).


Member Function Documentation

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

Initialize.

ToDo: Finish documentation.

Definition at line 81 of file Thyra_DefaultProductVector.hpp.

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

Initialize.

ToDo: Finish documentation.

Definition at line 95 of file Thyra_DefaultProductVector.hpp.

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

Initialize.

ToDo: Finish documentation.

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

Uninitialize.

ToDo: Finish documentation.

Definition at line 125 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
std::string Thyra::DefaultProductVector< Scalar >::description (  )  const [virtual]

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 137 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::describe ( Teuchos::FancyOStream out,
const Teuchos::EVerbosityLevel  verbLevel 
) const [virtual]

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 151 of file Thyra_DefaultProductVector.hpp.

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

Implements Thyra::ProductVectorBase< Scalar >.

Definition at line 197 of file Thyra_DefaultProductVector.hpp.

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

Implements Thyra::ProductVectorBase< Scalar >.

Definition at line 206 of file Thyra_DefaultProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 218 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 225 of file Thyra_DefaultProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 234 of file Thyra_DefaultProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 264 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultProductVector< Scalar >::space (  )  const [virtual]

Implements Thyra::VectorBase< Scalar >.

Definition at line 275 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 [virtual]

Implements Thyra::VectorBase< Scalar >.

Definition at line 282 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 461 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 496 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 524 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 559 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 587 of file Thyra_DefaultProductVector.hpp.


Friends And Related Function Documentation

template<class Scalar>
Teuchos::RCP< DefaultProductVector< Scalar > > defaultProductVector ( const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace  )  [related]

Nonmember constructor.

Definition at line 240 of file Thyra_DefaultProductVectorDecl.hpp.

template<class Scalar>
Teuchos::RCP< DefaultProductVector< Scalar > > defaultProductVector ( const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const Teuchos::RCP< VectorBase< Scalar > >  vecs[] 
) [related]

Nonmember constructor.

Definition at line 256 of file Thyra_DefaultProductVectorDecl.hpp.

template<class Scalar>
Teuchos::RCP< DefaultProductVector< Scalar > > defaultProductVector ( const Teuchos::RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const Teuchos::Array< Teuchos::RCP< const VectorBase< Scalar > > > &  vecs 
) [related]

Nonmember constructor.

Definition at line 290 of file Thyra_DefaultProductVectorDecl.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:47:00 2009 for Thyra Operator/Vector Support by doxygen 1.4.7