AbstractLinAlgPack::MultiVectorMutableThyra Class Reference

MultiVectorMutable adapter subclass for Thyra::MultiVectorBase. More...

#include <AbstractLinAlgPack_MultiVectorMutableThyra.hpp>

Inheritance diagram for AbstractLinAlgPack::MultiVectorMutableThyra:

[legend]
List of all members.

Constructors / Initializers

 MultiVectorMutableThyra ()
 Construct to uninitialized.
 MultiVectorMutableThyra (const Teuchos::RefCountPtr< Thyra::MultiVectorBase< value_type > > &thyra_multi_vec)
 Calls this->initialize().
void initialize (const Teuchos::RefCountPtr< Thyra::MultiVectorBase< value_type > > &thyra_multi_vec)
 Initalize given a smart pointer to a Thyra::MultiVectorBase object.
Teuchos::RefCountPtr< Thyra::MultiVectorBase<
value_type > > 
set_uninitialized ()
 Set to uninitialized and return smart pointer to the internal Thyra::LinearOpBase object.
Teuchos::RefCountPtr< const
Thyra::MultiVectorBase< value_type > > 
thyra_multi_vec () const
 Return a smart pointer to the internal Thyra::LinearOpBase object.

Overridden from MatrixOpThyra

void initialize (const Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > &thyra_linear_op)
 Performs a const_cast<> and dynamic_cast<> and passes on to this->initialize().

Overridden from MatrixOp

mat_mut_ptr_t clone ()
 Overridden to call MatrixOpThyra::clone().
MatrixOpoperator= (const MatrixOp &mwo_rhs)
 Overridden to call MultiVectorMutable::operator=().
void Vp_StMtV (VectorMutable *v_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2, value_type beta) const
 Overridden to call MatrixOpThyra::Vp_StMtV().
bool Mp_StMtM (MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta) const
 Overridden to call MatrixOpThyra::Mp_StMtM().

Overridden from MultiVector

access_by_t access_by () const
 Returns COL_ACCESS.
void apply_op (EApplyBy apply_by, const RTOpPack::RTOp &primary_op, const size_t num_multi_vecs, const MultiVector *multi_vecs[], const size_t num_targ_multi_vecs, MultiVectorMutable *targ_multi_vecs[], RTOpPack::ReductTarget *reduct_objs[], const index_type primary_first_ele, const index_type primary_sub_dim, const index_type primary_global_offset, const index_type secondary_first_ele, const index_type secondary_sub_dim) const
 
void apply_op (EApplyBy apply_by, const RTOpPack::RTOp &primary_op, const RTOpPack::RTOp &secondary_op, const size_t num_multi_vecs, const MultiVector *multi_vecs[], const size_t num_targ_multi_vecs, MultiVectorMutable *targ_multi_vecs[], RTOpPack::ReductTarget *reduct_obj, const index_type primary_first_ele, const index_type primary_sub_dim, const index_type primary_global_offset, const index_type secondary_first_ele, const index_type secondary_sub_dim) const
 

Overridden from MultiVectorMutable

vec_mut_ptr_t col (index_type j)
 
vec_mut_ptr_t row (index_type i)
 return.get()==NULL
vec_mut_ptr_t diag (int k)
 return.get()==NULL
multi_vec_mut_ptr_t mv_sub_view (const Range1D &row_rng, const Range1D &col_rng)
 

Private Member Functions

Teuchos::RefCountPtr< Thyra::MultiVectorBase<
value_type > > 
cast_thyra_multi_vec ()
 

Detailed Description

MultiVectorMutable adapter subclass for Thyra::MultiVectorBase.

Definition at line 40 of file AbstractLinAlgPack_MultiVectorMutableThyra.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::MultiVectorMutableThyra::MultiVectorMutableThyra  ) 
 

Construct to uninitialized.

Postconditioins:

Definition at line 40 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

AbstractLinAlgPack::MultiVectorMutableThyra::MultiVectorMutableThyra const Teuchos::RefCountPtr< Thyra::MultiVectorBase< value_type > > &  thyra_multi_vec  ) 
 

Calls this->initialize().

Definition at line 43 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.


Member Function Documentation

void AbstractLinAlgPack::MultiVectorMutableThyra::initialize const Teuchos::RefCountPtr< Thyra::MultiVectorBase< value_type > > &  thyra_multi_vec  ) 
 

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

Parameters:
thyra_multi_vec [in] Smart pointer to Thyra vector this will adapt.
Preconditioins:
  • thyra_multi_vec.get() != NULL (throw std::invalid_argument)

Postconditioins:

Definition at line 50 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

Teuchos::RefCountPtr< Thyra::MultiVectorBase< value_type > > AbstractLinAlgPack::MultiVectorMutableThyra::set_uninitialized  ) 
 

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

Postconditioins:

Note that his nonvirtual function hides the nonvirtual function MatrixOpThyra::set_uninitialized().

Reimplemented from AbstractLinAlgPack::MatrixOpThyra.

Definition at line 63 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

Teuchos::RefCountPtr< const Thyra::MultiVectorBase< value_type > > AbstractLinAlgPack::MultiVectorMutableThyra::thyra_multi_vec  )  const
 

Return a smart pointer to the internal Thyra::LinearOpBase object.

Definition at line 72 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

void AbstractLinAlgPack::MultiVectorMutableThyra::initialize const Teuchos::RefCountPtr< const Thyra::LinearOpBase< value_type > > &  thyra_linear_op  ) 
 

Performs a const_cast<> and dynamic_cast<> and passes on to this->initialize().

Definition at line 79 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

MatrixOp::mat_mut_ptr_t AbstractLinAlgPack::MultiVectorMutableThyra::clone  )  [virtual]
 

Overridden to call MatrixOpThyra::clone().

Reimplemented from AbstractLinAlgPack::MultiVectorMutable.

Definition at line 94 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

MatrixOp & AbstractLinAlgPack::MultiVectorMutableThyra::operator= const MatrixOp mwo_rhs  )  [virtual]
 

Overridden to call MultiVectorMutable::operator=().

Reimplemented from AbstractLinAlgPack::MultiVectorMutable.

Definition at line 99 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

void AbstractLinAlgPack::MultiVectorMutableThyra::Vp_StMtV VectorMutable v_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2,
value_type  beta
const [virtual]
 

Overridden to call MatrixOpThyra::Vp_StMtV().

Reimplemented from AbstractLinAlgPack::MatrixOpThyra.

Definition at line 104 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

bool AbstractLinAlgPack::MultiVectorMutableThyra::Mp_StMtM MatrixOp mwo_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const MatrixOp mwo_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta
const [virtual]
 

Overridden to call MatrixOpThyra::Mp_StMtM().

Reimplemented from AbstractLinAlgPack::MatrixOpThyra.

Definition at line 112 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

MultiVector::access_by_t AbstractLinAlgPack::MultiVectorMutableThyra::access_by  )  const [virtual]
 

Returns COL_ACCESS.

Implements AbstractLinAlgPack::MultiVector.

Definition at line 125 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

void AbstractLinAlgPack::MultiVectorMutableThyra::apply_op EApplyBy  apply_by,
const RTOpPack::RTOp primary_op,
const size_t  num_multi_vecs,
const MultiVector multi_vecs[],
const size_t  num_targ_multi_vecs,
MultiVectorMutable targ_multi_vecs[],
RTOpPack::ReductTarget reduct_objs[],
const index_type  primary_first_ele,
const index_type  primary_sub_dim,
const index_type  primary_global_offset,
const index_type  secondary_first_ele,
const index_type  secondary_sub_dim
const [virtual]
 

Reimplemented from AbstractLinAlgPack::MultiVector.

Definition at line 130 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

void AbstractLinAlgPack::MultiVectorMutableThyra::apply_op EApplyBy  apply_by,
const RTOpPack::RTOp primary_op,
const RTOpPack::RTOp secondary_op,
const size_t  num_multi_vecs,
const MultiVector multi_vecs[],
const size_t  num_targ_multi_vecs,
MultiVectorMutable targ_multi_vecs[],
RTOpPack::ReductTarget reduct_obj,
const index_type  primary_first_ele,
const index_type  primary_sub_dim,
const index_type  primary_global_offset,
const index_type  secondary_first_ele,
const index_type  secondary_sub_dim
const [virtual]
 

Reimplemented from AbstractLinAlgPack::MultiVector.

Definition at line 147 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

MultiVectorMutable::vec_mut_ptr_t AbstractLinAlgPack::MultiVectorMutableThyra::col index_type  j  )  [virtual]
 

Implements AbstractLinAlgPack::MultiVectorMutable.

Definition at line 167 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

MultiVectorMutable::vec_mut_ptr_t AbstractLinAlgPack::MultiVectorMutableThyra::row index_type  i  )  [virtual]
 

return.get()==NULL

Implements AbstractLinAlgPack::MultiVectorMutable.

Definition at line 173 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

MultiVectorMutable::vec_mut_ptr_t AbstractLinAlgPack::MultiVectorMutableThyra::diag int  k  )  [virtual]
 

return.get()==NULL

Implements AbstractLinAlgPack::MultiVectorMutable.

Definition at line 179 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

MultiVectorMutable::multi_vec_mut_ptr_t AbstractLinAlgPack::MultiVectorMutableThyra::mv_sub_view const Range1D row_rng,
const Range1D col_rng
[virtual]
 

Reimplemented from AbstractLinAlgPack::MultiVectorMutable.

Definition at line 185 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.

Teuchos::RefCountPtr< Thyra::MultiVectorBase< value_type > > AbstractLinAlgPack::MultiVectorMutableThyra::cast_thyra_multi_vec  )  [private]
 

Definition at line 200 of file AbstractLinAlgPack_MultiVectorMutableThyra.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:36:13 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1