#include "Sacado_Fad_Ops.hpp"
#include "Sacado_mpl_enable_if.hpp"
#include "Sacado_Fad_Expr_MP_Vector.hpp"
Go to the source code of this file.
|
#define | FAD_UNARYOP_MACRO(OPNAME, OP, MPVALUE, VALUE, DX, FASTACCESSDX) |
|
#define | FAD_BINARYOP_MACRO(OPNAME, OP, MPVALUE, VALUE, DX, FASTACCESSDX, MPVAL_CONST_DX_1, MPVAL_CONST_DX_2, VAL_CONST_DX_1, VAL_CONST_DX_2, CONST_DX_1, CONST_DX_2, CONST_FASTACCESSDX_1, CONST_FASTACCESSDX_2) |
|
|
| FAD_UNARYOP_MACRO (operator+, UnaryPlusOp, expr.val(), expr.val(j), expr.dx(i, j), expr.fastAccessDx(i, j)) FAD_UNARYOP_MACRO(operator- |
|
expr | val () |
|
expr expr | val (j) |
|
expr expr expr | dx (i, j) |
|
expr expr expr expr | fastAccessDx (i, j)) FAD_UNARYOP_MACRO(exp |
|
expr expr expr expr j | FAD_UNARYOP_MACRO (log, LogOp, std::log(expr.val()), std::log(expr.val(j)), expr.dx(i, j)/expr.val(j), expr.fastAccessDx(i, j)/expr.val(j)) FAD_UNARYOP_MACRO(log10 |
|
template<typename ExprT > |
KOKKOS_INLINE_FUNCTION bool | toBool (const Expr< ExprT, ExprSpecMPVector > &x) |
|
template<typename ExprT > |
std::ostream & | operator<< (std::ostream &os, const Expr< ExprT, ExprSpecMPVector > &x) |
|
#define FAD_UNARYOP_MACRO |
( |
|
OPNAME, |
|
|
|
OP, |
|
|
|
MPVALUE, |
|
|
|
VALUE, |
|
|
|
DX, |
|
|
|
FASTACCESSDX |
|
) |
| |
#define FAD_BINARYOP_MACRO |
( |
|
OPNAME, |
|
|
|
OP, |
|
|
|
MPVALUE, |
|
|
|
VALUE, |
|
|
|
DX, |
|
|
|
FASTACCESSDX, |
|
|
|
MPVAL_CONST_DX_1, |
|
|
|
MPVAL_CONST_DX_2, |
|
|
|
VAL_CONST_DX_1, |
|
|
|
VAL_CONST_DX_2, |
|
|
|
CONST_DX_1, |
|
|
|
CONST_DX_2, |
|
|
|
CONST_FASTACCESSDX_1, |
|
|
|
CONST_FASTACCESSDX_2 |
|
) |
| |
FAD_UNARYOP_MACRO |
( |
operator+ |
, |
|
|
UnaryPlusOp |
, |
|
|
expr. |
val(), |
|
|
expr. |
valj, |
|
|
expr. |
dxi, j, |
|
|
expr. |
fastAccessDxi, j |
|
) |
| |
expr expr expr dx |
( |
i |
, |
|
|
j |
|
|
) |
| |
expr expr expr expr fastAccessDx |
( |
i |
, |
|
|
j |
|
|
) |
| |
expr expr expr expr j FAD_UNARYOP_MACRO |
( |
log |
, |
|
|
LogOp |
, |
|
|
std:: |
logexpr.val(), |
|
|
std:: |
logexpr.val(j), |
|
|
expr. |
dxi, j)/expr.val(j, |
|
|
expr. |
fastAccessDxi, j)/expr.val(j |
|
) |
| |
template<typename ExprT >
KOKKOS_INLINE_FUNCTION bool toBool |
( |
const Expr< ExprT, ExprSpecMPVector > & |
x | ) |
|
template<typename ExprT >
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Expr< ExprT, ExprSpecMPVector > & |
x |
|
) |
| |
expr expr expr expr ExpOp |
expr expr expr expr j Log10Op |