mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
CppCheck : Remove unused function and added whitespace
This commit is contained in:
@@ -60,25 +60,3 @@ double RiaEclipseUnitTools::darcysConstant(UnitSystem unitSystem)
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RiaEclipseUnitTools::convertConductivtyValue(double Kw, UnitSystem fromUnit, UnitSystem toUnit)
|
||||
{
|
||||
|
||||
if (fromUnit == toUnit) return Kw;
|
||||
|
||||
else if (fromUnit == UNITS_METRIC && toUnit == UNITS_FIELD)
|
||||
{
|
||||
return meterToFeet(Kw);
|
||||
}
|
||||
else if (fromUnit == UNITS_METRIC && toUnit == UNITS_FIELD)
|
||||
{
|
||||
return feetToMeter(Kw);
|
||||
}
|
||||
|
||||
CVF_ASSERT(false);
|
||||
|
||||
return HUGE_VAL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user