mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5663 Fix element property input for UCS
This commit is contained in:
@@ -119,7 +119,7 @@ QString RimWellFlowRateCurve::wellLogChannelUiName() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimWellFlowRateCurve::wellLogChannelUnits() const
|
||||
{
|
||||
return RiaWellLogUnitTools::noUnitString();
|
||||
return RiaWellLogUnitTools<double>::noUnitString();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -787,12 +787,12 @@ QString RimGeoMechResultDefinition::currentResultUnits() const
|
||||
{
|
||||
if ( resultName == this->resultFieldName() )
|
||||
{
|
||||
return RiaWellLogUnitTools::sg_emwUnitString();
|
||||
return RiaWellLogUnitTools<double>::sg_emwUnitString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return RiaWellLogUnitTools::noUnitString();
|
||||
return RiaWellLogUnitTools<double>::noUnitString();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -919,7 +919,7 @@ void RimGeoMechResultDefinition::updateLegendTextAndRanges( RimRegularLegendConf
|
||||
}
|
||||
|
||||
QString unitString = currentResultUnits();
|
||||
if ( unitString != RiaWellLogUnitTools::noUnitString() )
|
||||
if ( unitString != RiaWellLogUnitTools<double>::noUnitString() )
|
||||
{
|
||||
legendTitle += QString( " [%1]" ).arg( unitString );
|
||||
}
|
||||
|
||||
@@ -49,20 +49,20 @@ public:
|
||||
double rkbDiff,
|
||||
RiaDefines::DepthUnitType depthUnit,
|
||||
bool isExtractionCurve,
|
||||
const QString& xUnits = RiaWellLogUnitTools::noUnitString() );
|
||||
const QString& xUnits = RiaWellLogUnitTools<double>::noUnitString() );
|
||||
void setValuesWithMdAndTVD( const std::vector<double>& xValues,
|
||||
const std::vector<double>& measuredDepths,
|
||||
const std::vector<double>& tvDepths,
|
||||
double rkbDiff,
|
||||
RiaDefines::DepthUnitType depthUnit,
|
||||
bool isExtractionCurve,
|
||||
const QString& xUnits = RiaWellLogUnitTools::noUnitString() );
|
||||
const QString& xUnits = RiaWellLogUnitTools<double>::noUnitString() );
|
||||
void setValuesAndDepths( const std::vector<double>& xValues,
|
||||
const std::map<RiaDefines::DepthTypeEnum, std::vector<double>>& depths,
|
||||
double rkbDiff,
|
||||
RiaDefines::DepthUnitType depthUnit,
|
||||
bool isExtractionCurve,
|
||||
const QString& xUnits = RiaWellLogUnitTools::noUnitString() );
|
||||
const QString& xUnits = RiaWellLogUnitTools<double>::noUnitString() );
|
||||
|
||||
const RigWellLogCurveData* curveData() const;
|
||||
|
||||
|
||||
@@ -451,7 +451,7 @@ void RimWellLogExtractionCurve::extractData( bool* isUsingPseudoLength,
|
||||
double rkbDiff = 0.0;
|
||||
|
||||
RiaDefines::DepthUnitType depthUnit = RiaDefines::UNIT_METER;
|
||||
QString xUnits = RiaWellLogUnitTools::noUnitString();
|
||||
QString xUnits = RiaWellLogUnitTools<double>::noUnitString();
|
||||
|
||||
if ( eclExtractor.notNull() && eclipseCase )
|
||||
{
|
||||
@@ -554,7 +554,10 @@ void RimWellLogExtractionCurve::findAndLoadWbsParametersFromLasFiles( const RimW
|
||||
{
|
||||
QString extractorUnits = geomExtractor->parameterInputUnits( parameter );
|
||||
|
||||
if ( RiaWellLogUnitTools::convertValues( &lasFileValues, lasUnits, extractorUnits, wellPath->wellPathGeometry() ) )
|
||||
if ( RiaWellLogUnitTools<double>::convertValues( &lasFileValues,
|
||||
lasUnits,
|
||||
extractorUnits,
|
||||
wellPath->wellPathGeometry() ) )
|
||||
{
|
||||
geomExtractor->setWbsLasValues( parameter, lasFileValues );
|
||||
}
|
||||
@@ -905,7 +908,7 @@ QString RimWellLogExtractionCurve::wellLogChannelUnits() const
|
||||
QString name;
|
||||
if ( eclipseCase )
|
||||
{
|
||||
name = RiaWellLogUnitTools::noUnitString();
|
||||
name = RiaWellLogUnitTools<double>::noUnitString();
|
||||
}
|
||||
else if ( geoMechCase )
|
||||
{
|
||||
|
||||
@@ -439,7 +439,7 @@ QString RimWellLogFileCurve::wellLogChannelUnits() const
|
||||
{
|
||||
return m_wellLogFile->wellLogFileData()->wellLogChannelUnitString( m_wellLogChannelName );
|
||||
}
|
||||
return RiaWellLogUnitTools::noUnitString();
|
||||
return RiaWellLogUnitTools<double>::noUnitString();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -151,7 +151,7 @@ QString RimWellLogRftCurve::wellLogChannelUiName() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimWellLogRftCurve::wellLogChannelUnits() const
|
||||
{
|
||||
return RiaWellLogUnitTools::noUnitString();
|
||||
return RiaWellLogUnitTools<double>::noUnitString();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -285,7 +285,7 @@ QString RimWellMeasurementCurve::wellLogChannelUiName() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimWellMeasurementCurve::wellLogChannelUnits() const
|
||||
{
|
||||
return RiaWellLogUnitTools::noUnitString();
|
||||
return RiaWellLogUnitTools<double>::noUnitString();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user