#6064 Use RiaEclipseUnitTools for unit conversion (and add some new ones).

This commit is contained in:
Kristian Bendiksen
2020-06-18 19:42:28 +02:00
parent 4b56d93582
commit 78e5b40da9
3 changed files with 6 additions and 30 deletions

View File

@@ -45,6 +45,9 @@ public:
static double mmToMeter( double mm ) { return mm / 1000.0; }
static double meterToMm( double meter ) { return 1000.0 * meter; }
static double barToPsi( double bar ) { return bar * 14.5038; }
static double barPerMeterToPsiPerFeet( double barPerMeter ) { return barPerMeter * 4.42075; }
static double darcysConstant( UnitSystem unitSystem );
static RiaDefines::DepthUnitType depthUnit( UnitSystem unit );