35 #ifndef OPM_UNITS_HEADER
36 #define OPM_UNITS_HEADER
52 const double deci = 1.0e-1;
76 inline double square(
double v) {
return v * v; }
77 inline double cubic (
double v) {
return v * v * v; }
147 namespace perm_details {
191 inline double from(
const double q,
const double unit)
214 inline double to(
const double q,
const double unit)
221 #endif // OPM_UNITS_HEADER
const double minute
Definition: Units.hpp:94
const double day
Definition: Units.hpp:96
const double micro
Definition: Units.hpp:49
Definition: AnisotropicEikonal.hpp:43
const double mega
Definition: Units.hpp:54
const double feet
Definition: Units.hpp:88
const double darcy
Definition: Units.hpp:166
const double lbf
Definition: Units.hpp:130
const double atm
Definition: Units.hpp:137
const double kilogram
Definition: Units.hpp:109
const double inch
Definition: Units.hpp:87
double to(const double q, const double unit)
Definition: Units.hpp:214
const double centi
Definition: Units.hpp:51
const double giga
Definition: Units.hpp:55
const double milli
Definition: Units.hpp:50
const double barsa
Definition: Units.hpp:136
const double darcy
Definition: Units.hpp:153
const double second
Definition: Units.hpp:93
const double gallon
Definition: Units.hpp:102
const double deci
Definition: Units.hpp:52
const double kilo
Definition: Units.hpp:53
const double Poise
Definition: Units.hpp:144
const double area
Definition: Units.hpp:149
const double pound
Definition: Units.hpp:111
double square(double v)
Definition: Units.hpp:76
const double psia
Definition: Units.hpp:138
const double stb
Definition: Units.hpp:103
const double Newton
Definition: Units.hpp:129
const double liter
Definition: Units.hpp:104
const double gravity
Definition: Units.hpp:120
double cubic(double v)
Definition: Units.hpp:77
const double meter
Definition: Units.hpp:86
const double flux
Definition: Units.hpp:150
double from(const double q, const double unit)
Definition: Units.hpp:191
const double year
Definition: Units.hpp:97
const double p_grad
Definition: Units.hpp:148
const double hour
Definition: Units.hpp:95
const double Pascal
Definition: Units.hpp:135
const double visc
Definition: Units.hpp:152
const double velocity
Definition: Units.hpp:151
const double Pas
Definition: Units.hpp:143