Sacado Package Browser (Single Doxygen Collection)  Version of the Day
Classes | Typedefs | Functions
Sacado::Fad::Exp Namespace Reference

Classes

struct  ConditionalReturnType
 
class  DynamicStorage
 Derivative array storage class using dynamic memory allocation. More...
 
class  Expr
 Wrapper for a generic expression template. More...
 
class  ExprAssign
 Class that implements various forms of expression assignments. More...
 
class  ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >
 Specialization of ExprAssign for statically sized storage types. More...
 
struct  ExprLevel
 Meta-function for determining nesting with an expression. More...
 
struct  ExprLevel< Expr< T > >
 
struct  ExprLevel< GeneralFad< S > >
 
class  ExprSpecDefault
 
class  Extender
 Extension class for extending interface of its argument. More...
 
class  GeneralFad
 Forward-mode AD class templated on the storage for the derivative array. More...
 
struct  IsFadExpr
 Determine whether a given type is an expression. More...
 
struct  IsFadExpr< Expr< T > >
 
struct  IsFadExpr< GeneralFad< S > >
 
class  MemPoolStorage
 Derivative array storage class using dynamic memory allocation. More...
 
struct  mp_array
 Dynamic array allocation class that works for any type. More...
 
struct  mp_array< T, true >
 Dynamic array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...). More...
 
class  StaticFixedStorage
 Derivative array storage class using static, fixed memory allocation. More...
 
class  StaticStorage
 Derivative array storage class using static memory allocation. More...
 
class  VectorDynamicStorage
 Derivative array storage class using dynamic memory allocation. More...
 
class  ViewFadPtr
 
class  ViewStorage
 Derivative array storage class that is a view into a contiguous memory allocation. It does not provide proper value semantics and thus should not be used in a general-purpose scalar type. More...
 

Typedefs

template<typename T >
using DFad = GeneralFad< DynamicStorage< T > >
 
template<typename T >
using DMFad = GeneralFad< MemPoolStorage< T > >
 
template<typename T >
using DVFad = GeneralFad< VectorDynamicStorage< T > >
 
template<typename T , int Num>
using SFad = GeneralFad< StaticFixedStorage< T, Num > >
 
template<typename T , int Num>
using SLFad = GeneralFad< StaticStorage< T, Num > >
 
template<typename T , unsigned static_length, unsigned static_stride, typename U >
using ViewFad = GeneralFad< ViewStorage< T, static_length, static_stride, U > >
 

Functions

template<typename ExprT >
KOKKOS_INLINE_FUNCTION bool operator! (const Expr< ExprT > &expr)
 
template<typename T >
KOKKOS_INLINE_FUNCTION bool toBool (const Expr< T > &xx)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const Expr< T > &xx)
 

Typedef Documentation

◆ DFad

template<typename T >
using Sacado::Fad::Exp::DFad = typedef GeneralFad< DynamicStorage<T> >

Definition at line 42 of file Sacado_Fad_Exp_DFad.hpp.

◆ DMFad

template<typename T >
using Sacado::Fad::Exp::DMFad = typedef GeneralFad< MemPoolStorage<T> >

Definition at line 42 of file Sacado_Fad_Exp_DMFad.hpp.

◆ DVFad

template<typename T >
using Sacado::Fad::Exp::DVFad = typedef GeneralFad< VectorDynamicStorage<T> >

Definition at line 42 of file Sacado_Fad_Exp_DVFad.hpp.

◆ SFad

template<typename T , int Num>
using Sacado::Fad::Exp::SFad = typedef GeneralFad< StaticFixedStorage<T,Num> >

Definition at line 43 of file Sacado_Fad_Exp_SFad.hpp.

◆ SLFad

template<typename T , int Num>
using Sacado::Fad::Exp::SLFad = typedef GeneralFad< StaticStorage<T,Num> >

Definition at line 42 of file Sacado_Fad_Exp_SLFad.hpp.

◆ ViewFad

template<typename T , unsigned static_length, unsigned static_stride, typename U >
using Sacado::Fad::Exp::ViewFad = typedef GeneralFad< ViewStorage<T,static_length,static_stride,U> >

Definition at line 47 of file Sacado_Fad_Exp_ViewFad.hpp.

Function Documentation

◆ operator!()

template<typename ExprT >
KOKKOS_INLINE_FUNCTION bool Sacado::Fad::Exp::operator! ( const Expr< ExprT > &  expr)

Definition at line 1028 of file Sacado_Fad_Exp_Ops.hpp.

◆ toBool()

template<typename T >
KOKKOS_INLINE_FUNCTION bool Sacado::Fad::Exp::toBool ( const Expr< T > &  xx)

Definition at line 1046 of file Sacado_Fad_Exp_Ops.hpp.

◆ operator<<()

template<typename T >
std::ostream& Sacado::Fad::Exp::operator<< ( std::ostream &  os,
const Expr< T > &  xx 
)

Definition at line 1106 of file Sacado_Fad_Exp_Ops.hpp.