MathToolbox.hpp File Reference

A traits class which provides basic mathematical functions for arbitrary scalar floating point values. More...

#include <cmath>
#include <algorithm>
#include <type_traits>
Include dependency graph for MathToolbox.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Opm::MathToolbox< Evaluation, isScalar >
 
struct  Opm::ToLhsEvalHelper< LhsEval, RhsEval, lhsIsScalar, rhsIsScalar >
 
struct  Opm::ToLhsEvalHelper< LhsEval, RhsEval, true, true >
 
struct  Opm::ToLhsEvalHelper< LhsEval, RhsEval, true, false >
 
struct  Opm::ToLhsEvalHelper< LhsEval, RhsEval, false, false >
 
struct  Opm::MathToolbox< ScalarT, true >
 

Namespaces

 Opm
 

Detailed Description

A traits class which provides basic mathematical functions for arbitrary scalar floating point values.

The reason why this is done in such a complicated way is to enable other approaches, in particular automatic differentiation based ones.