Data handling methods for aggregated types that contain CoDiPack active types. More...
#include <realTraits.hpp>
Public Types | |
using | Identifier |
Type of identifier values extracted from the type with AD values. | |
using | Real = typename Type::Real |
Type of primal values extracted from the type with AD values. | |
using | Type = T_Type |
See DataExtraction. | |
Static Public Member Functions | |
static Identifier | getIdentifier (Type const &v) |
Extract the identifiers from a type of aggregated active types. | |
static Real | getValue (Type const &v) |
Extract the primal values from a type of aggregated active types. | |
static void | setValue (Type &v, Real const &value) |
Set the primal values of a type of aggregated active types. | |
Data handling methods for aggregated types that contain CoDiPack active types.
An aggregated type is for example std::complex<codi::RealReverse>, which contains two CoDiPack values. The accessor methods in this class access each of these value. For getValue
, for example, a complex type of the CoDiPack type's inner value is generated.
T_Type | Any type that contains a CoDiPack type. |
using codi::RealTraits::DataExtraction< T_Type, typename >::Identifier |
Type of identifier values extracted from the type with AD values.