Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault > Class Template Reference

#include <Sacado_Fad_Ops.hpp>

Public Types

typedef ConstExpr< T2ConstT
 
typedef ConstExpr< T2ExprT2
 
typedef ExprT1::value_type value_type_1
 
typedef ExprT2::value_type value_type_2
 
typedef Sacado::Promote
< value_type_1, value_type_2 >
::type 
value_type
 
typedef ExprT1::scalar_type scalar_type_1
 
typedef ExprT2::scalar_type scalar_type_2
 
typedef Sacado::Promote
< scalar_type_1, scalar_type_2 >
::type 
scalar_type
 
typedef ExprT1::base_expr_type base_expr_type_1
 
typedef ExprT2::base_expr_type base_expr_type_2
 
typedef Sacado::Promote
< base_expr_type_1,
base_expr_type_2 >::type 
base_expr_type
 

Public Member Functions

SACADO_INLINE_FUNCTION Expr (const CondT &cond_, const ExprT1 &expr1_, const ConstT &c_)
 
SACADO_INLINE_FUNCTION int size () const
 
SACADO_INLINE_FUNCTION bool hasFastAccess () const
 
SACADO_INLINE_FUNCTION bool isPassive () const
 
SACADO_INLINE_FUNCTION bool updateValue () const
 
SACADO_INLINE_FUNCTION void cache () const
 
SACADO_INLINE_FUNCTION const
value_type 
val () const
 
SACADO_INLINE_FUNCTION const
value_type 
dx (int i) const
 
SACADO_INLINE_FUNCTION const
value_type 
fastAccessDx (int i) const
 

Protected Attributes

const CondT & cond
 
const ExprT1 & expr1
 
ConstT c
 

Detailed Description

template<typename CondT, typename ExprT1, typename T2>
class Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >

Definition at line 2261 of file Sacado_Fad_Ops.hpp.

Member Typedef Documentation

template<typename CondT , typename ExprT1 , typename T2 >
typedef ConstExpr<T2> Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::ConstT

Definition at line 2265 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef ConstExpr<T2> Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::ExprT2

Definition at line 2266 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef ExprT1::value_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::value_type_1

Definition at line 2267 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef ExprT2::value_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::value_type_2

Definition at line 2268 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef Sacado::Promote<value_type_1, value_type_2>::type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::value_type

Definition at line 2270 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef ExprT1::scalar_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::scalar_type_1

Definition at line 2272 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef ExprT2::scalar_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::scalar_type_2

Definition at line 2273 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef Sacado::Promote<scalar_type_1, scalar_type_2>::type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::scalar_type

Definition at line 2275 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef ExprT1::base_expr_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::base_expr_type_1

Definition at line 2277 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef ExprT2::base_expr_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::base_expr_type_2

Definition at line 2278 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
typedef Sacado::Promote<base_expr_type_1, base_expr_type_2>::type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::base_expr_type

Definition at line 2280 of file Sacado_Fad_Ops.hpp.

Constructor & Destructor Documentation

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::Expr ( const CondT &  cond_,
const ExprT1 &  expr1_,
const ConstT c_ 
)
inline

Definition at line 2283 of file Sacado_Fad_Ops.hpp.

Member Function Documentation

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION int Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::size ( ) const
inline

Definition at line 2287 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION bool Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::hasFastAccess ( ) const
inline

Definition at line 2292 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION bool Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::isPassive ( ) const
inline

Definition at line 2297 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION bool Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::updateValue ( ) const
inline

Definition at line 2302 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION void Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::cache ( ) const
inline

Definition at line 2305 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION const value_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::val ( ) const
inline

Definition at line 2308 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION const value_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::dx ( int  i) const
inline

Definition at line 2314 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
SACADO_INLINE_FUNCTION const value_type Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::fastAccessDx ( int  i) const
inline

Definition at line 2320 of file Sacado_Fad_Ops.hpp.

Member Data Documentation

template<typename CondT , typename ExprT1 , typename T2 >
const CondT& Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::cond
protected

Definition at line 2327 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
const ExprT1& Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::expr1
protected

Definition at line 2328 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename T2 >
ConstT Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ConstExpr< T2 > >, ExprSpecDefault >::c
protected

Definition at line 2329 of file Sacado_Fad_Ops.hpp.


The documentation for this class was generated from the following file: