AbstractLinAlgPack::VectorMutableThyra Class Reference

VectorMutable adapter subclass for Thyra::VectorBase. More...

#include <AbstractLinAlgPack_VectorMutableThyra.hpp>

Inheritance diagram for AbstractLinAlgPack::VectorMutableThyra:

Inheritance graph
[legend]
List of all members.

Constructors / Initializers

 VectorMutableThyra ()
 Construct to uninitialized.
 VectorMutableThyra (const Teuchos::RCP< Thyra::VectorBase< value_type > > &thyra_vec)
 Calls this->initialize().
void initialize (const Teuchos::RCP< Thyra::VectorBase< value_type > > &thyra_vec)
 Initalize given a smart pointer to a Thyra::Vetor object.
Teuchos::RCP< Thyra::VectorBase<
value_type > > 
set_uninitialized ()
 Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.
Teuchos::RCP< const Thyra::VectorBase<
value_type > > 
thyra_vec () const
 Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase object.

Methods overridden from Vector

const VectorSpacespace () const
 
void apply_op (const RTOpPack::RTOp &op, const size_t num_vecs, const Vector *vecs[], const size_t num_targ_vecs, VectorMutable *targ_vecs[], RTOpPack::ReductTarget *reduct_obj, const index_type first_ele, const index_type sub_dim, const index_type global_offset) const
 
index_type dim () const
 
void get_sub_vector (const Range1D &rng, RTOpPack::SubVector *sub_vec) const
 
void free_sub_vector (RTOpPack::SubVector *sub_vec) const
 

Methods overridden from VectorMutable

void get_sub_vector (const Range1D &rng, RTOpPack::MutableSubVector *sub_vec)
 
void commit_sub_vector (RTOpPack::MutableSubVector *sub_vec)
 
void set_sub_vector (const RTOpPack::SparseSubVector &sub_vec)
 
void Vp_StMtV (value_type alpha, const GenPermMatrixSlice &P, BLAS_Cpp::Transp P_trans, const Vector &x, value_type beta)
 

Detailed Description

VectorMutable adapter subclass for Thyra::VectorBase.

Definition at line 41 of file AbstractLinAlgPack_VectorMutableThyra.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::VectorMutableThyra::VectorMutableThyra (  ) 

Construct to uninitialized.

Postconditioins:

Definition at line 44 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

AbstractLinAlgPack::VectorMutableThyra::VectorMutableThyra ( const Teuchos::RCP< Thyra::VectorBase< value_type > > &  thyra_vec  ) 

Calls this->initialize().

Definition at line 47 of file AbstractLinAlgPack_VectorMutableThyra.cpp.


Member Function Documentation

void AbstractLinAlgPack::VectorMutableThyra::initialize ( const Teuchos::RCP< Thyra::VectorBase< value_type > > &  thyra_vec  ) 

Initalize given a smart pointer to a Thyra::Vetor object.

Parameters:
thyra_vec [in] Smart pointer to Thyra vector this will adapt.
Preconditioins:

Postconditioins:

Definition at line 54 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

Teuchos::RCP< Thyra::VectorBase< value_type > > AbstractLinAlgPack::VectorMutableThyra::set_uninitialized (  ) 

Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.

Postconditioins:

Definition at line 69 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

Teuchos::RCP< const Thyra::VectorBase< value_type > > AbstractLinAlgPack::VectorMutableThyra::thyra_vec (  )  const [inline]

Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase object.

If this->thyra_vec().count() == 2, then this has so ownership of the *this->thyra_vec() object.

Definition at line 153 of file AbstractLinAlgPack_VectorMutableThyra.hpp.

const VectorSpace & AbstractLinAlgPack::VectorMutableThyra::space (  )  const [virtual]

Implements AbstractLinAlgPack::Vector.

Definition at line 81 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

void AbstractLinAlgPack::VectorMutableThyra::apply_op ( const RTOpPack::RTOp &  op,
const size_t  num_vecs,
const Vector vecs[],
const size_t  num_targ_vecs,
VectorMutable targ_vecs[],
RTOpPack::ReductTarget reduct_obj,
const index_type  first_ele,
const index_type  sub_dim,
const index_type  global_offset 
) const [virtual]

Implements AbstractLinAlgPack::Vector.

Definition at line 86 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

index_type AbstractLinAlgPack::VectorMutableThyra::dim (  )  const [virtual]

Reimplemented from AbstractLinAlgPack::Vector.

Definition at line 143 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

void AbstractLinAlgPack::VectorMutableThyra::get_sub_vector ( const Range1D rng,
RTOpPack::SubVector *  sub_vec 
) const [virtual]

Reimplemented from AbstractLinAlgPack::Vector.

Definition at line 148 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

void AbstractLinAlgPack::VectorMutableThyra::free_sub_vector ( RTOpPack::SubVector *  sub_vec  )  const [virtual]

Reimplemented from AbstractLinAlgPack::Vector.

Definition at line 157 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

void AbstractLinAlgPack::VectorMutableThyra::get_sub_vector ( const Range1D rng,
RTOpPack::MutableSubVector *  sub_vec 
) [virtual]

Reimplemented from AbstractLinAlgPack::VectorMutable.

Definition at line 168 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

void AbstractLinAlgPack::VectorMutableThyra::commit_sub_vector ( RTOpPack::MutableSubVector *  sub_vec  )  [virtual]

Reimplemented from AbstractLinAlgPack::VectorMutable.

Definition at line 175 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

void AbstractLinAlgPack::VectorMutableThyra::set_sub_vector ( const RTOpPack::SparseSubVector &  sub_vec  )  [virtual]

Reimplemented from AbstractLinAlgPack::VectorMutable.

Definition at line 183 of file AbstractLinAlgPack_VectorMutableThyra.cpp.

void AbstractLinAlgPack::VectorMutableThyra::Vp_StMtV ( value_type  alpha,
const GenPermMatrixSlice P,
BLAS_Cpp::Transp  P_trans,
const Vector x,
value_type  beta 
) [virtual]

Reimplemented from AbstractLinAlgPack::VectorMutable.

Definition at line 189 of file AbstractLinAlgPack_VectorMutableThyra.cpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:52:03 2010 for MOOCHO/Thyra Adapter Software by  doxygen 1.4.7