Sacado
Development
|
Class that implements various forms of expression assignments. More...
#include <Sacado_Fad_Exp_ExprAssign.hpp>
Public Types | |
typedef DstType::value_type | value_type |
Typename of values. | |
Static Public Member Functions | |
template<typename SrcType > | |
static KOKKOS_INLINE_FUNCTION void | assign_equal (DstType &dst, const SrcType &x) |
Implementation of dst = x. | |
template<typename SrcType > | |
static KOKKOS_INLINE_FUNCTION void | assign_plus_equal (DstType &dst, const SrcType &x) |
Implementation of dst += x. | |
template<typename SrcType > | |
static KOKKOS_INLINE_FUNCTION void | assign_minus_equal (DstType &dst, const SrcType &x) |
Implementation of dst -= x. | |
template<typename SrcType > | |
static KOKKOS_INLINE_FUNCTION void | assign_times_equal (DstType &dst, const SrcType &x) |
Implementation of dst *= x. | |
template<typename SrcType > | |
static KOKKOS_INLINE_FUNCTION void | assign_divide_equal (DstType &dst, const SrcType &x) |
Implementation of dst /= x. | |
Class that implements various forms of expression assignments.
GeneralFad uses this class to implement =, +=, -=, *=, and /= for GeneralFad and expression right-hand-sides. This design allows partial specializations of this class to be easily written without having to specialize GeneralFad itself. For examples, specializations for various derivative storage schemes may be desired.