Thyra::DefaultClusteredSpmdProductVector< Scalar > Class Template Reference
[Efficient Generic SPMD Concrete Thyra Operator/Vector Subclass Implementations]

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

#include <Thyra_DefaultClusteredSpmdProductVectorDecl.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 Index first_ele_offset, const Index sub_dim, const Index 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 50 of file Thyra_DefaultClusteredSpmdProductVectorDecl.hpp.


Constructor & Destructor Documentation

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

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

Definition at line 50 of file Thyra_DefaultClusteredSpmdProductVector.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 57 of file Thyra_DefaultClusteredSpmdProductVector.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 67 of file Thyra_DefaultClusteredSpmdProductVector.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 87 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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

Implements Thyra::ProductVectorBase< Scalar >.

Definition at line 105 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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

Implements Thyra::ProductVectorBase< Scalar >.

Definition at line 115 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 128 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 135 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 145 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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

Implements Thyra::ProductMultiVectorBase< Scalar >.

Definition at line 153 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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

Implements Thyra::VectorBase< Scalar >.

Definition at line 164 of file Thyra_DefaultClusteredSpmdProductVector.hpp.

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 Index  first_ele_offset,
const Index  sub_dim,
const Index  global_offset 
) const [protected, virtual]

Implements Thyra::VectorBase< Scalar >.

Definition at line 174 of file Thyra_DefaultClusteredSpmdProductVector.hpp.


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