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 >:

Inheritance graph
[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
 

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 ProductVectorBase

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

Overridden public functions 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 public functions from VectorBase

Teuchos::RCP< const VectorSpaceBase<
Scalar > > 
space () const
 

Overridden protected functions from VectorBase

void applyOpImpl (const RTOpPack::RTOpT< Scalar > &op, const ArrayView< const Ptr< const VectorBase< Scalar > > > &vecs, const ArrayView< const Ptr< VectorBase< Scalar > > > &targ_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Index first_ele_offset, 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 setSubVectorImpl (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>
void Thyra::DefaultProductVector< Scalar >::setBlock ( int  i,
const Teuchos::RCP< const VectorBase< Scalar > > &  b 
)

Definition at line 196 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::setNonconstBlock ( int  i,
const Teuchos::RCP< VectorBase< Scalar > > &  b 
)

Definition at line 209 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 226 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 237 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 251 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 258 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 269 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 277 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 288 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::applyOpImpl ( const RTOpPack::RTOpT< Scalar > &  op,
const ArrayView< const Ptr< const VectorBase< Scalar > > > &  vecs,
const ArrayView< const Ptr< VectorBase< Scalar > > > &  targ_vecs,
const Ptr< RTOpPack::ReductTarget > &  reduct_obj,
const Index  first_ele_offset,
const Index  sub_dim,
const Index  global_offset 
) const [protected, virtual]

Implements Thyra::VectorBase< Scalar >.

Definition at line 295 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 496 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 531 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 559 of file Thyra_DefaultProductVector.hpp.

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

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 594 of file Thyra_DefaultProductVector.hpp.

template<class Scalar>
void Thyra::DefaultProductVector< Scalar >::setSubVectorImpl ( const RTOpPack::SparseSubVectorT< Scalar > &  sub_vec  )  [protected, virtual]

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 622 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 247 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 263 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 297 of file Thyra_DefaultProductVectorDecl.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:42:32 2010 for Thyra Operator/Vector Support by  doxygen 1.4.7