Public Types | |
typedef ValueT | ValueType |
typedef Opm::MathToolbox < ValueType > | InnerToolbox |
typedef InnerToolbox::Scalar | Scalar |
typedef Opm::DenseAd::Evaluation < ValueType, numVars > | Evaluation |
Static Public Member Functions | |
static ValueType | value (const Evaluation &eval) |
static | decltype (InnerToolbox::scalarValue(0.0)) scalarValue(const Evaluation &eval) |
static Evaluation | createConstant (ValueType value) |
static Evaluation | createVariable (ValueType value, int varIdx) |
template<class LhsEval > | |
static std::enable_if < std::is_same< Evaluation, LhsEval >::value, LhsEval > ::type | decay (const Evaluation &eval) |
template<class LhsEval > | |
static std::enable_if < std::is_same< Evaluation, LhsEval >::value, LhsEval > ::type | decay (const Evaluation &&eval) |
template<class LhsEval > | |
static std::enable_if < std::is_floating_point < LhsEval >::value, LhsEval > ::type | decay (const Evaluation &eval) |
static bool | isSame (const Evaluation &a, const Evaluation &b, Scalar tolerance) |
template<class Arg1Eval , class Arg2Eval > | |
static Evaluation | max (const Arg1Eval &arg1, const Arg2Eval &arg2) |
template<class Arg1Eval , class Arg2Eval > | |
static Evaluation | min (const Arg1Eval &arg1, const Arg2Eval &arg2) |
static Evaluation | abs (const Evaluation &arg) |
static Evaluation | tan (const Evaluation &arg) |
static Evaluation | atan (const Evaluation &arg) |
static Evaluation | atan2 (const Evaluation &arg1, const Evaluation &arg2) |
static Evaluation | sin (const Evaluation &arg) |
static Evaluation | asin (const Evaluation &arg) |
static Evaluation | cos (const Evaluation &arg) |
static Evaluation | acos (const Evaluation &arg) |
static Evaluation | sqrt (const Evaluation &arg) |
static Evaluation | exp (const Evaluation &arg) |
static Evaluation | log (const Evaluation &arg) |
template<class RhsValueType > | |
static Evaluation | pow (const Evaluation &arg1, const RhsValueType &arg2) |
template<class RhsValueType > | |
static Evaluation | pow (const RhsValueType &arg1, const Evaluation &arg2) |
static Evaluation | pow (const Evaluation &arg1, const Evaluation &arg2) |
static bool | isfinite (const Evaluation &arg) |
static bool | isnan (const Evaluation &arg) |