Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Public Member Functions | List of all members
Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type > Class Template Reference

Specialization of extender for MP::Vector scalar types. More...

#include <Sacado_Fad_Exp_MP_Vector.hpp>

Inherits T.

Public Types

typedef T::value_type value_type
 
typedef value_type::value_type val_type
 
typedef ExprSpecMPVector expr_spec_type
 

Public Member Functions

KOKKOS_INLINE_FUNCTION const val_typeval (int j) const
 Returns value. More...
 
KOKKOS_INLINE_FUNCTION val_typeval (int j)
 Returns value. More...
 
KOKKOS_INLINE_FUNCTION val_type dx (int i, int j) const
 Returns derivative component i with bounds checking. More...
 
KOKKOS_INLINE_FUNCTION val_typefastAccessDx (int i, int j)
 Returns derivative component i without bounds checking. More...
 
KOKKOS_INLINE_FUNCTION const val_typefastAccessDx (int i, int j) const
 Returns derivative component i without bounds checking. More...
 

Detailed Description

template<typename T>
class Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >

Specialization of extender for MP::Vector scalar types.

Extends interface to add val(), dx(), fastAccessDx() functions that take an ensemble component argument, for flattening nested scalar type expression templates.

Definition at line 62 of file Sacado_Fad_Exp_MP_Vector.hpp.

Member Typedef Documentation

◆ value_type

template<typename T >
typedef T::value_type Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::value_type

Definition at line 70 of file Sacado_Fad_Exp_MP_Vector.hpp.

◆ val_type

template<typename T >
typedef value_type::value_type Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::val_type

Definition at line 71 of file Sacado_Fad_Exp_MP_Vector.hpp.

◆ expr_spec_type

template<typename T >
typedef ExprSpecMPVector Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::expr_spec_type

Definition at line 74 of file Sacado_Fad_Exp_MP_Vector.hpp.

Member Function Documentation

◆ val() [1/2]

template<typename T >
KOKKOS_INLINE_FUNCTION const val_type& Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::val ( int  j) const
inline

Returns value.

Definition at line 86 of file Sacado_Fad_Exp_MP_Vector.hpp.

◆ val() [2/2]

template<typename T >
KOKKOS_INLINE_FUNCTION val_type& Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::val ( int  j)
inline

Returns value.

Definition at line 90 of file Sacado_Fad_Exp_MP_Vector.hpp.

◆ dx()

template<typename T >
KOKKOS_INLINE_FUNCTION val_type Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::dx ( int  i,
int  j 
) const
inline

Returns derivative component i with bounds checking.

Definition at line 94 of file Sacado_Fad_Exp_MP_Vector.hpp.

◆ fastAccessDx() [1/2]

template<typename T >
KOKKOS_INLINE_FUNCTION val_type& Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::fastAccessDx ( int  i,
int  j 
)
inline

Returns derivative component i without bounds checking.

Definition at line 100 of file Sacado_Fad_Exp_MP_Vector.hpp.

◆ fastAccessDx() [2/2]

template<typename T >
KOKKOS_INLINE_FUNCTION const val_type& Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >::fastAccessDx ( int  i,
int  j 
) const
inline

Returns derivative component i without bounds checking.

Definition at line 106 of file Sacado_Fad_Exp_MP_Vector.hpp.


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