Stokhos Development
Loading...
Searching...
No Matches
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>

Inheritance diagram for Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >:
Collaboration diagram for Sacado::Fad::Exp::Extender< T, typename std::enable_if< Sacado::is_mp_vector< typename T::value_type >::value >::type >:

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_type & val (int j) const
 Returns value.
KOKKOS_INLINE_FUNCTION val_type & val (int j)
 Returns value.
KOKKOS_INLINE_FUNCTION val_type dx (int i, int j) const
 Returns derivative component i with bounds checking.
KOKKOS_INLINE_FUNCTION val_type & fastAccessDx (int i, int j)
 Returns derivative component i without bounds checking.
KOKKOS_INLINE_FUNCTION const val_type & fastAccessDx (int i, int j) const
 Returns derivative component i without bounds checking.

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.


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