Thyra Version of the Day
Thyra::DefaultClusteredSpmdProductVector< Scalar > Class Template Reference

Concrete implementation of a clustered Spmd-based product vector. More...

#include <Thyra_DefaultClusteredSpmdProductVector_decl.hpp>

Inheritance diagram for Thyra::DefaultClusteredSpmdProductVector< Scalar >:
Inheritance graph
[legend]

List of all members.

Constructors/initializers/accessors

 DefaultClusteredSpmdProductVector ()
 Constructs to uninitialized (see postconditions for uninitialize()).
 DefaultClusteredSpmdProductVector (const Teuchos::RCP< const DefaultClusteredSpmdProductVectorSpace< Scalar > > &productSpace, const Teuchos::RCP< VectorBase< Scalar > > vecs[])
 Constructs to initialized (calls initialize()).
void initialize (const Teuchos::RCP< const DefaultClusteredSpmdProductVectorSpace< Scalar > > &productSpace, const Teuchos::RCP< VectorBase< Scalar > > vecs[])
 Initialize.
void uninitialize (Teuchos::RCP< const DefaultClusteredSpmdProductVectorSpace< Scalar > > *productSpace=NULL, Teuchos::RCP< VectorBase< Scalar > > vecs[]=NULL)
 Uninitialize.

Overridden from ProductVectorBase

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

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
 

Overridden protected members 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 Ordinal global_offset) const
 

Detailed Description

template<class Scalar>
class Thyra::DefaultClusteredSpmdProductVector< Scalar >

Concrete implementation of a clustered Spmd-based product vector.

ToDo: Finish documentation!

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

Definition at line 63 of file Thyra_DefaultClusteredSpmdProductVector_decl.hpp.


Constructor & Destructor Documentation

Constructs to uninitialized (see postconditions for uninitialize()).

Definition at line 62 of file Thyra_DefaultClusteredSpmdProductVector_def.hpp.

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

Constructs to initialized (calls initialize()).

Definition at line 69 of file Thyra_DefaultClusteredSpmdProductVector_def.hpp.


Member Function Documentation

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

Initialize.

ToDo: Finish documentation.

Definition at line 79 of file Thyra_DefaultClusteredSpmdProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultClusteredSpmdProductVector< Scalar >::uninitialize ( Teuchos::RCP< const DefaultClusteredSpmdProductVectorSpace< Scalar > > *  productSpace = NULL,
Teuchos::RCP< VectorBase< Scalar > >  vecs[] = NULL 
)

Uninitialize.

ToDo: Finish documentation.

Definition at line 99 of file Thyra_DefaultClusteredSpmdProductVector_def.hpp.

template<class Scalar >
Teuchos::RCP< VectorBase< Scalar > > Thyra::DefaultClusteredSpmdProductVector< Scalar >::getNonconstVectorBlock ( const int  k) [virtual]
template<class Scalar >
Teuchos::RCP< const VectorBase< Scalar > > Thyra::DefaultClusteredSpmdProductVector< Scalar >::getVectorBlock ( const int  k) const [virtual]
template<class Scalar >
Teuchos::RCP< const ProductVectorSpaceBase< Scalar > > Thyra::DefaultClusteredSpmdProductVector< Scalar >::productSpace ( ) const [virtual]
template<class Scalar >
bool Thyra::DefaultClusteredSpmdProductVector< Scalar >::blockIsConst ( const int  k) const [virtual]
template<class Scalar >
Teuchos::RCP< MultiVectorBase< Scalar > > Thyra::DefaultClusteredSpmdProductVector< Scalar >::getNonconstMultiVectorBlock ( const int  k) [virtual]
template<class Scalar >
Teuchos::RCP< const MultiVectorBase< Scalar > > Thyra::DefaultClusteredSpmdProductVector< Scalar >::getMultiVectorBlock ( const int  k) const [virtual]
template<class Scalar >
Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultClusteredSpmdProductVector< Scalar >::space ( ) const [virtual]
template<class Scalar >
void Thyra::DefaultClusteredSpmdProductVector< 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 Ordinal  global_offset 
) const [protected, virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines