mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: Rename method name.
This commit is contained in:
@@ -91,7 +91,7 @@ void Rim3dWellLogFileCurve::curveValuesAndMds( std::vector<double>* values, std:
|
||||
|
||||
if ( m_wellLogFile )
|
||||
{
|
||||
RigWellLogData* wellLogFile = m_wellLogFile->wellLogFileData();
|
||||
RigWellLogData* wellLogFile = m_wellLogFile->wellLogData();
|
||||
if ( wellLogFile )
|
||||
{
|
||||
*values = wellLogFile->values( m_wellLogChannelName );
|
||||
@@ -137,7 +137,7 @@ QString Rim3dWellLogFileCurve::createAutoName() const
|
||||
channelNameAvailable = true;
|
||||
}
|
||||
|
||||
RigWellLogData* wellLogFile = m_wellLogFile ? m_wellLogFile->wellLogFileData() : nullptr;
|
||||
RigWellLogData* wellLogFile = m_wellLogFile ? m_wellLogFile->wellLogData() : nullptr;
|
||||
|
||||
if ( wellLogFile )
|
||||
{
|
||||
|
||||
@@ -774,7 +774,7 @@ void RimEnsembleWellLogCurveSet::updateEnsembleCurves( const std::vector<RimWell
|
||||
QString errorMessage;
|
||||
if ( wellLogFile->readFile( &errorMessage ) )
|
||||
{
|
||||
RigWellLogLasFile* wellLogDataFile = wellLogFile->wellLogFileData();
|
||||
RigWellLogLasFile* wellLogDataFile = wellLogFile->wellLogData();
|
||||
CVF_ASSERT( wellLogDataFile );
|
||||
|
||||
if ( isFirst )
|
||||
@@ -1264,7 +1264,7 @@ bool RimEnsembleWellLogCurveSet::hasPropertyInFile( const QString& property ) co
|
||||
QString errorMessage;
|
||||
if ( !wellLogFile->readFile( &errorMessage ) ) return false;
|
||||
|
||||
RigWellLogLasFile* wellLogDataFile = wellLogFile->wellLogFileData();
|
||||
RigWellLogLasFile* wellLogDataFile = wellLogFile->wellLogData();
|
||||
CVF_ASSERT( wellLogDataFile );
|
||||
|
||||
std::vector<double> values = wellLogDataFile->values( RiaResultNames::indexKResultName() );
|
||||
|
||||
@@ -95,7 +95,7 @@ void RimEnsembleWellLogStatistics::calculate( const std::vector<RimWellLogLasFil
|
||||
QString errorMessage;
|
||||
if ( wellLogFile->readFile( &errorMessage ) )
|
||||
{
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogFileData();
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogData();
|
||||
RiaDefines::DepthUnitType depthUnitInFile = fileData->depthUnit();
|
||||
if ( m_depthUnit != RiaDefines::DepthUnitType::UNIT_NONE && m_depthUnit != depthUnitInFile )
|
||||
{
|
||||
@@ -197,7 +197,7 @@ void RimEnsembleWellLogStatistics::calculateByKLayer( const std::vector<RimWellL
|
||||
QString errorMessage;
|
||||
if ( wellLogFile->readFile( &errorMessage ) )
|
||||
{
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogFileData();
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogData();
|
||||
|
||||
std::vector<double> kIndexValues = fileData->values( RiaResultNames::indexKResultName() );
|
||||
std::vector<double> values = fileData->values( wellLogChannelName );
|
||||
@@ -300,7 +300,7 @@ std::shared_ptr<RigWellLogIndexDepthOffset>
|
||||
QString errorMessage;
|
||||
if ( wellLogFile->readFile( &errorMessage ) )
|
||||
{
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogFileData();
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogData();
|
||||
|
||||
std::vector<double> depths = fileData->depthValues();
|
||||
std::vector<double> tvdDepths = fileData->tvdMslValues();
|
||||
|
||||
@@ -117,7 +117,7 @@ std::vector<std::pair<double, double>> RimWellLogCsvFile::findMdAndChannelValues
|
||||
std::vector<RimWellLogCsvFile*> wellLogFiles = wellPath.descendantsIncludingThisOfType<RimWellLogCsvFile>();
|
||||
for ( RimWellLogCsvFile* wellLogFile : wellLogFiles )
|
||||
{
|
||||
RigWellLogCsvFile* fileData = wellLogFile->wellLogFileData();
|
||||
RigWellLogCsvFile* fileData = wellLogFile->wellLogData();
|
||||
if ( fileData )
|
||||
{
|
||||
std::vector<double> channelValues = fileData->values( channelName );
|
||||
@@ -144,7 +144,7 @@ std::vector<std::pair<double, double>> RimWellLogCsvFile::findMdAndChannelValues
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigWellLogCsvFile* RimWellLogCsvFile::wellLogFileData()
|
||||
RigWellLogCsvFile* RimWellLogCsvFile::wellLogData()
|
||||
{
|
||||
return m_wellLogDataFile.p();
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
QString wellName() const override;
|
||||
|
||||
RigWellLogCsvFile* wellLogFileData() override;
|
||||
RigWellLogCsvFile* wellLogData() override;
|
||||
|
||||
std::vector<std::pair<double, double>>
|
||||
findMdAndChannelValuesForWellPath( const RimWellPath& wellPath, const QString& channelName, QString* unitString = nullptr ) override;
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
virtual QString wellName() const = 0;
|
||||
virtual QString name() const = 0;
|
||||
virtual bool readFile( QString* errorMessage ) = 0;
|
||||
virtual RigWellLogData* wellLogFileData() = 0;
|
||||
virtual RigWellLogData* wellLogData() = 0;
|
||||
|
||||
virtual QDateTime date() const;
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ std::vector<std::pair<double, double>> RimWellLogLasFile::findMdAndChannelValues
|
||||
std::vector<RimWellLogLasFile*> wellLogFiles = wellPath.descendantsIncludingThisOfType<RimWellLogLasFile>();
|
||||
for ( RimWellLogLasFile* wellLogFile : wellLogFiles )
|
||||
{
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogFileData();
|
||||
RigWellLogLasFile* fileData = wellLogFile->wellLogData();
|
||||
std::vector<double> channelValues = fileData->values( channelName );
|
||||
if ( !channelValues.empty() )
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
QString wellName() const override;
|
||||
|
||||
RigWellLogLasFile* wellLogFileData() override { return m_wellLogDataFile.p(); }
|
||||
RigWellLogLasFile* wellLogData() override { return m_wellLogDataFile.p(); }
|
||||
|
||||
bool hasFlowData() const;
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ void RimWellLogLasFileCurve::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
|
||||
if ( m_wellPath && m_wellLogFile )
|
||||
{
|
||||
RigWellLogData* wellLogFile = m_wellLogFile->wellLogFileData();
|
||||
RigWellLogData* wellLogFile = m_wellLogFile->wellLogData();
|
||||
if ( wellLogFile )
|
||||
{
|
||||
std::vector<double> values = wellLogFile->values( m_wellLogChannelName );
|
||||
@@ -457,7 +457,7 @@ QString RimWellLogLasFileCurve::createCurveAutoName()
|
||||
channelNameAvailable = true;
|
||||
}
|
||||
|
||||
RigWellLogData* wellLogFile = m_wellLogFile ? m_wellLogFile->wellLogFileData() : nullptr;
|
||||
RigWellLogData* wellLogFile = m_wellLogFile ? m_wellLogFile->wellLogData() : nullptr;
|
||||
|
||||
if ( wellLogFile )
|
||||
{
|
||||
@@ -498,9 +498,9 @@ QString RimWellLogLasFileCurve::wellLogChannelUiName() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimWellLogLasFileCurve::wellLogChannelUnits() const
|
||||
{
|
||||
if ( m_wellLogFile && m_wellLogFile->wellLogFileData() )
|
||||
if ( m_wellLogFile && m_wellLogFile->wellLogData() )
|
||||
{
|
||||
return m_wellLogFile->wellLogFileData()->wellLogChannelUnitString( m_wellLogChannelName );
|
||||
return m_wellLogFile->wellLogData()->wellLogChannelUnitString( m_wellLogChannelName );
|
||||
}
|
||||
return RiaWellLogUnitTools<double>::noUnitString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user