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, ExprT2 >, ExprSpecDefault > Class Template Reference

#include <Sacado_Fad_Ops.hpp>

Public Types

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 ExprT2 &expr2_)
 
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
 
const ExprT2 & expr2
 

Detailed Description

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

Definition at line 2182 of file Sacado_Fad_Ops.hpp.

Member Typedef Documentation

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

Definition at line 2186 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2187 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2189 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2191 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2192 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2194 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2196 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2197 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2199 of file Sacado_Fad_Ops.hpp.

Constructor & Destructor Documentation

template<typename CondT , typename ExprT1 , typename ExprT2 >
SACADO_INLINE_FUNCTION Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ExprT2 >, ExprSpecDefault >::Expr ( const CondT &  cond_,
const ExprT1 &  expr1_,
const ExprT2 &  expr2_ 
)
inline

Definition at line 2202 of file Sacado_Fad_Ops.hpp.

Member Function Documentation

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

Definition at line 2206 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2212 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2217 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2222 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2227 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2230 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2236 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2242 of file Sacado_Fad_Ops.hpp.

Member Data Documentation

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

Definition at line 2249 of file Sacado_Fad_Ops.hpp.

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

Definition at line 2250 of file Sacado_Fad_Ops.hpp.

template<typename CondT , typename ExprT1 , typename ExprT2 >
const ExprT2& Sacado::Fad::Expr< IfThenElseOp< CondT, ExprT1, ExprT2 >, ExprSpecDefault >::expr2
protected

Definition at line 2251 of file Sacado_Fad_Ops.hpp.


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