RTOpPack::SUNDIALS_VCompare< Scalar > Class Template Reference

#include <RTOpPack_SUNDIALS_Ops.hpp>

Inheritance diagram for RTOpPack::SUNDIALS_VCompare< Scalar >:

[legend]
List of all members.

Overridden from RTOpT

void apply_op (const int num_vecs, const ConstSubVectorView< Scalar > sub_vecs[], const int num_targ_vecs, const SubVectorView< Scalar > targ_sub_vecs[], ReductTarget *reduct_obj) const
 

Public Member Functions

void alpha (const Scalar &alpha)
 
Scalar alpha () const
 
 SUNDIALS_VCompare (const Scalar &alpha)
 

Detailed Description

template<class Scalar>
class RTOpPack::SUNDIALS_VCompare< Scalar >

Performs the operation z[i] = 1.0 if ABS(x[i]) >= alpha 0.0 otherwise

Author:
K. Long

Definition at line 595 of file RTOpPack_SUNDIALS_Ops.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::SUNDIALS_VCompare< Scalar >::SUNDIALS_VCompare const Scalar &  alpha  )  [inline]
 

Definition at line 602 of file RTOpPack_SUNDIALS_Ops.hpp.


Member Function Documentation

template<class Scalar>
void RTOpPack::SUNDIALS_VCompare< Scalar >::alpha const Scalar &  alpha  )  [inline]
 

Definition at line 598 of file RTOpPack_SUNDIALS_Ops.hpp.

template<class Scalar>
Scalar RTOpPack::SUNDIALS_VCompare< Scalar >::alpha  )  const [inline]
 

Definition at line 600 of file RTOpPack_SUNDIALS_Ops.hpp.

template<class Scalar>
void RTOpPack::SUNDIALS_VCompare< Scalar >::apply_op const int  num_vecs,
const ConstSubVectorView< Scalar >  sub_vecs[],
const int  num_targ_vecs,
const SubVectorView< Scalar >  targ_sub_vecs[],
ReductTarget reduct_obj
const [inline, virtual]
 

Implements RTOpPack::RTOpT< Scalar >.

Definition at line 609 of file RTOpPack_SUNDIALS_Ops.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:41 2008 for Collection of Concrete Vector Reduction/Transformation Operator Implementations by doxygen 1.3.9.1