mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: rename WellLogFileChannel to WellLogChannel.
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
#include "RimProject.h"
|
||||
#include "RimSummaryCase.h"
|
||||
#include "RimSummaryCaseCollection.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogExtractionCurve.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurve.h"
|
||||
#include "RimWellLogRftCurve.h"
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPlotTools::hasPressureData( const RimWellLogFile* wellLogFile )
|
||||
{
|
||||
for ( RimWellLogFileChannel* const wellLogChannel : wellLogFile->wellLogChannels() )
|
||||
for ( RimWellLogChannel* const wellLogChannel : wellLogFile->wellLogChannels() )
|
||||
{
|
||||
if ( isPressureChannel( wellLogChannel ) ) return true;
|
||||
}
|
||||
@@ -125,7 +125,7 @@ std::pair<RigEclipseResultAddress, QString> RimWellPlotTools::pressureResultData
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPlotTools::isPressureChannel( RimWellLogFileChannel* channel )
|
||||
bool RimWellPlotTools::isPressureChannel( RimWellLogChannel* channel )
|
||||
{
|
||||
for ( const auto& pressureDataName : PRESSURE_DATA_NAMES )
|
||||
{
|
||||
@@ -146,7 +146,7 @@ bool RimWellPlotTools::hasPressureData( RimEclipseResultCase* gridCase )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPlotTools::hasFlowData( const RimWellLogFile* wellLogFile )
|
||||
{
|
||||
for ( RimWellLogFileChannel* const wellLogChannel : wellLogFile->wellLogChannels() )
|
||||
for ( RimWellLogChannel* const wellLogChannel : wellLogFile->wellLogChannels() )
|
||||
{
|
||||
if ( isFlowChannel( wellLogChannel ) ) return true;
|
||||
}
|
||||
@@ -182,7 +182,7 @@ bool RimWellPlotTools::hasAssociatedWellPath( const QString& wellName )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPlotTools::isFlowChannel( RimWellLogFileChannel* channel )
|
||||
bool RimWellPlotTools::isFlowChannel( RimWellLogChannel* channel )
|
||||
{
|
||||
return tryMatchChannelName( FLOW_DATA_NAMES, channel->name() );
|
||||
}
|
||||
@@ -297,11 +297,11 @@ std::vector<RimWellLogFile*> RimWellPlotTools::wellLogFilesContainingPressure( c
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogFileChannel* RimWellPlotTools::getPressureChannelFromWellFile( const RimWellLogFile* wellLogFile )
|
||||
RimWellLogChannel* RimWellPlotTools::getPressureChannelFromWellFile( const RimWellLogFile* wellLogFile )
|
||||
{
|
||||
if ( wellLogFile != nullptr )
|
||||
{
|
||||
for ( RimWellLogFileChannel* const channel : wellLogFile->wellLogChannels() )
|
||||
for ( RimWellLogChannel* const channel : wellLogFile->wellLogChannels() )
|
||||
{
|
||||
if ( isPressureChannel( channel ) )
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ class RimEclipseResultCase;
|
||||
class RimObservedFmuRftData;
|
||||
class RimSummaryCaseCollection;
|
||||
class RimWellLogCurve;
|
||||
class RimWellLogFileChannel;
|
||||
class RimWellLogChannel;
|
||||
class RimWellLogPlot;
|
||||
class RimWellPath;
|
||||
class RimPressureDepthData;
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
static void addTimeStepsToMap( std::map<QDateTime, std::set<RifDataSourceForRftPlt>>& destMap,
|
||||
const std::map<QDateTime, std::set<RifDataSourceForRftPlt>>& timeStepsToAdd );
|
||||
static std::vector<RimWellLogFile*> wellLogFilesContainingPressure( const QString& wellPathNameOrSimWellName );
|
||||
static RimWellLogFileChannel* getPressureChannelFromWellFile( const RimWellLogFile* wellLogFile );
|
||||
static RimWellLogChannel* getPressureChannelFromWellFile( const RimWellLogFile* wellLogFile );
|
||||
static RimWellPath* wellPathFromWellLogFile( const RimWellLogFile* wellLogFile );
|
||||
static std::map<QDateTime, std::set<RifDataSourceForRftPlt>> timeStepsMapFromGridCase( RimEclipseCase* gridCase );
|
||||
static RiaRftPltCurveDefinition curveDefFromCurve( const RimWellLogCurve* curve );
|
||||
@@ -147,11 +147,11 @@ private:
|
||||
static std::set<QString> FLOW_DATA_NAMES;
|
||||
|
||||
static bool hasPressureData( const RimWellLogFile* wellLogFile );
|
||||
static bool isPressureChannel( RimWellLogFileChannel* channel );
|
||||
static bool isPressureChannel( RimWellLogChannel* channel );
|
||||
static bool hasPressureData( RimEclipseResultCase* gridCase );
|
||||
static bool hasPressureData( RimWellPath* wellPath );
|
||||
static bool hasFlowData( RimEclipseResultCase* gridCase );
|
||||
static bool isFlowChannel( RimWellLogFileChannel* channel );
|
||||
static bool isFlowChannel( RimWellLogChannel* channel );
|
||||
static bool tryMatchChannelName( const std::set<QString>& channelNames, const QString& channelNameToMatch );
|
||||
static std::set<QDateTime> findMatchingOrAdjacentTimeSteps( const std::set<QDateTime>& baseTimeLine,
|
||||
const std::set<QDateTime>& availableTimeSteps );
|
||||
|
||||
@@ -47,9 +47,9 @@
|
||||
#include "RimProject.h"
|
||||
#include "RimSummaryCurveAppearanceCalculator.h"
|
||||
#include "RimWellFlowRateCurve.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogExtractionCurve.h"
|
||||
#include "RimWellLogFile.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurve.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
class RimEclipseCase;
|
||||
class RimEclipseResultCase;
|
||||
class RimWellLogCurve;
|
||||
class RimWellLogFileChannel;
|
||||
class RimWellLogChannel;
|
||||
class RimWellPath;
|
||||
class RiuWellPltPlot;
|
||||
class RimWellLogTrack;
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
#include "RimSummaryCase.h"
|
||||
#include "RimSummaryCaseCollection.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogExtractionCurve.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurve.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
@@ -687,8 +687,8 @@ void RimWellRftPlot::updateCurvesInPlot( const std::set<RiaRftPltCurveDefinition
|
||||
RimWellPath* const wellPath = RimWellPlotTools::wellPathFromWellLogFile( wellLogFile );
|
||||
if ( wellLogFile != nullptr )
|
||||
{
|
||||
RimWellLogFileChannel* pressureChannel = RimWellPlotTools::getPressureChannelFromWellFile( wellLogFile );
|
||||
auto curve = new RimWellLogLasFileCurve();
|
||||
RimWellLogChannel* pressureChannel = RimWellPlotTools::getPressureChannelFromWellFile( wellLogFile );
|
||||
auto curve = new RimWellLogLasFileCurve();
|
||||
|
||||
plotTrack->addCurve( curve );
|
||||
curve->setWellPath( wellPath );
|
||||
|
||||
@@ -44,7 +44,7 @@ class RimEclipseCase;
|
||||
class RimEclipseResultCase;
|
||||
class RimRegularLegendConfig;
|
||||
class RimWellLogCurve;
|
||||
class RimWellLogFileChannel;
|
||||
class RimWellLogChannel;
|
||||
class RimWellPath;
|
||||
class RimWellPathCollection;
|
||||
class RiuWellRftPlot;
|
||||
|
||||
@@ -154,8 +154,8 @@
|
||||
#include "RimVirtualPerforationResults.h"
|
||||
#include "RimWellAllocationPlot.h"
|
||||
#include "RimWellIASettings.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogCurve.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
#include "RimWellLogPlotCollection.h"
|
||||
@@ -838,7 +838,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
menuBuilder << "RicShowSummaryCurveCalculatorFeature";
|
||||
}
|
||||
}
|
||||
else if ( dynamic_cast<RimWellLogFileChannel*>( firstUiItem ) )
|
||||
else if ( dynamic_cast<RimWellLogChannel*>( firstUiItem ) )
|
||||
{
|
||||
menuBuilder << "RicAddWellLogToPlotFeature";
|
||||
}
|
||||
@@ -1240,7 +1240,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
menuBuilder.addSeparator();
|
||||
}
|
||||
|
||||
if ( dynamic_cast<RimWellLogFileChannel*>( firstUiItem ) )
|
||||
if ( dynamic_cast<RimWellLogChannel*>( firstUiItem ) )
|
||||
{
|
||||
menuBuilder << "RicAddWellLogToPlotFeature";
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ set(SOURCE_GROUP_SOURCE_FILES
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogCsvFile.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogFile.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogFileUtil.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogFileChannel.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogChannel.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogLasFileCurve.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogRftCurve.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellLogWbsCurve.cpp
|
||||
|
||||
@@ -40,9 +40,9 @@
|
||||
#include "RimGeoMechResultDefinition.h"
|
||||
#include "RimGeoMechView.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogExtractionCurve.h"
|
||||
#include "RimWellLogExtractionCurveNameConfig.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellPath.h"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "RigWellLogLasFile.h"
|
||||
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurveNameConfig.h"
|
||||
#include "RimWellPath.h"
|
||||
@@ -72,7 +72,7 @@ void Rim3dWellLogFileCurve::setDefaultFileCurveDataInfo()
|
||||
|
||||
if ( m_wellLogFile )
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> fileLogs = m_wellLogFile->wellLogChannels();
|
||||
std::vector<RimWellLogChannel*> fileLogs = m_wellLogFile->wellLogChannels();
|
||||
|
||||
if ( !fileLogs.empty() )
|
||||
{
|
||||
@@ -204,7 +204,7 @@ QList<caf::PdmOptionItemInfo> Rim3dWellLogFileCurve::calculateValueOptions( cons
|
||||
{
|
||||
if ( m_wellLogFile )
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> fileLogs = m_wellLogFile->wellLogChannels();
|
||||
std::vector<RimWellLogChannel*> fileLogs = m_wellLogFile->wellLogChannels();
|
||||
|
||||
for ( size_t i = 0; i < fileLogs.size(); i++ )
|
||||
{
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
#include "RimProject.h"
|
||||
#include "RimSummaryCase.h"
|
||||
#include "RimSummaryCaseCollection.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogCurve.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurve.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
@@ -567,7 +567,7 @@ QList<caf::PdmOptionItemInfo> RimEnsembleWellLogCurveSet::calculateValueOptions(
|
||||
std::set<QString> wellLogChannelNames;
|
||||
for ( auto wellLogFile : m_ensembleWellLogs->wellLogFiles() )
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> fileLogs = wellLogFile->wellLogChannels();
|
||||
std::vector<RimWellLogChannel*> fileLogs = wellLogFile->wellLogChannels();
|
||||
for ( size_t i = 0; i < fileLogs.size(); i++ )
|
||||
{
|
||||
QString wellLogChannelName = fileLogs[i]->name();
|
||||
|
||||
@@ -17,18 +17,18 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
|
||||
#include "RiaFieldHandleTools.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimWellLogFileChannel, "WellLogFileChannel" );
|
||||
CAF_PDM_SOURCE_INIT( RimWellLogChannel, "WellLogFileChannel" );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogFileChannel::RimWellLogFileChannel()
|
||||
RimWellLogChannel::RimWellLogChannel()
|
||||
{
|
||||
CAF_PDM_InitObject( "Well Log File Channel" );
|
||||
|
||||
@@ -39,7 +39,7 @@ RimWellLogFileChannel::RimWellLogFileChannel()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogFileChannel::setName( const QString& name )
|
||||
void RimWellLogChannel::setName( const QString& name )
|
||||
{
|
||||
m_name = name;
|
||||
}
|
||||
@@ -28,12 +28,12 @@ class QString;
|
||||
///
|
||||
///
|
||||
//==================================================================================================
|
||||
class RimWellLogFileChannel : public caf::PdmObject
|
||||
class RimWellLogChannel : public caf::PdmObject
|
||||
{
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
public:
|
||||
RimWellLogFileChannel();
|
||||
RimWellLogChannel();
|
||||
|
||||
void setName( const QString& name );
|
||||
QString name() const { return m_name; }
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "RimFileWellPath.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QString>
|
||||
@@ -91,7 +91,7 @@ bool RimWellLogCsvFile::readFile( QString* errorMessage )
|
||||
QStringList wellLogNames = m_wellLogDataFile->wellLogChannelNames();
|
||||
for ( int logIdx = 0; logIdx < wellLogNames.size(); logIdx++ )
|
||||
{
|
||||
RimWellLogFileChannel* wellLog = new RimWellLogFileChannel();
|
||||
RimWellLogChannel* wellLog = new RimWellLogChannel();
|
||||
wellLog->setName( wellLogNames[logIdx] );
|
||||
m_wellLogChannelNames.push_back( wellLog );
|
||||
}
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
#include "RimMainPlotCollection.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellBoreStabilityPlot.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogCurve.h"
|
||||
#include "RimWellLogCurveCommonDataSource.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogFileUtil.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "RimFileWellPath.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
|
||||
#include "RiaFieldHandleTools.h"
|
||||
#include "RiaQDateTimeTools.h"
|
||||
@@ -79,9 +79,9 @@ QString RimWellLogFile::fileName() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<RimWellLogFileChannel*> RimWellLogFile::wellLogChannels() const
|
||||
std::vector<RimWellLogChannel*> RimWellLogFile::wellLogChannels() const
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> channels;
|
||||
std::vector<RimWellLogChannel*> channels;
|
||||
for ( const auto& channel : m_wellLogChannelNames )
|
||||
{
|
||||
channels.push_back( channel );
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <QDateTime>
|
||||
#include <QString>
|
||||
|
||||
class RimWellLogFileChannel;
|
||||
class RimWellLogChannel;
|
||||
class RimWellPath;
|
||||
|
||||
class RigWellLogFile;
|
||||
@@ -42,9 +42,9 @@ public:
|
||||
RimWellLogFile();
|
||||
~RimWellLogFile() override;
|
||||
|
||||
virtual void setFileName( const QString& fileName );
|
||||
virtual QString fileName() const;
|
||||
virtual std::vector<RimWellLogFileChannel*> wellLogChannels() const;
|
||||
virtual void setFileName( const QString& fileName );
|
||||
virtual QString fileName() const;
|
||||
virtual std::vector<RimWellLogChannel*> wellLogChannels() const;
|
||||
|
||||
virtual QString wellName() const = 0;
|
||||
virtual QString name() const = 0;
|
||||
@@ -62,7 +62,7 @@ protected:
|
||||
void defineEditorAttribute( const caf::PdmFieldHandle* field, QString uiConfigName, caf::PdmUiEditorAttribute* attribute ) override;
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
|
||||
caf::PdmChildArrayField<RimWellLogFileChannel*> m_wellLogChannelNames;
|
||||
caf::PdmField<caf::FilePath> m_fileName;
|
||||
caf::PdmField<QDateTime> m_date;
|
||||
caf::PdmChildArrayField<RimWellLogChannel*> m_wellLogChannelNames;
|
||||
caf::PdmField<caf::FilePath> m_fileName;
|
||||
caf::PdmField<QDateTime> m_date;
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "RimFileWellPath.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
#include "RimWellPlotTools.h"
|
||||
|
||||
@@ -155,7 +155,7 @@ bool RimWellLogLasFile::readFile( QString* errorMessage )
|
||||
QStringList wellLogNames = m_wellLogDataFile->wellLogChannelNames();
|
||||
for ( int logIdx = 0; logIdx < wellLogNames.size(); logIdx++ )
|
||||
{
|
||||
RimWellLogFileChannel* wellLog = new RimWellLogFileChannel();
|
||||
RimWellLogChannel* wellLog = new RimWellLogChannel();
|
||||
wellLog->setName( wellLogNames[logIdx] );
|
||||
m_wellLogChannelNames.push_back( wellLog );
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#include <QDateTime>
|
||||
|
||||
class RimWellLogFileChannel;
|
||||
class RimWellLogChannel;
|
||||
class RimWellPath;
|
||||
|
||||
class QString;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "RimProject.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
#include "RimWellLogTrack.h"
|
||||
@@ -382,7 +382,7 @@ QList<caf::PdmOptionItemInfo> RimWellLogLasFileCurve::calculateValueOptions( con
|
||||
{
|
||||
if ( m_wellLogFile )
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> fileLogs = m_wellLogFile->wellLogChannels();
|
||||
std::vector<RimWellLogChannel*> fileLogs = m_wellLogFile->wellLogChannels();
|
||||
|
||||
for ( size_t i = 0; i < fileLogs.size(); i++ )
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <vector>
|
||||
|
||||
class RimWellPath;
|
||||
class RimWellLogFileChannel;
|
||||
class RimWellLogChannel;
|
||||
class RimWellLogFile;
|
||||
class RigWellLogIndexDepthOffset;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "RimStimPlanModelCollection.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellIASettingsCollection.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogPlotCollection.h"
|
||||
#include "RimWellPathAttributeCollection.h"
|
||||
@@ -588,8 +588,8 @@ RimWellLogFile* RimWellPath::firstWellLogFileMatchingChannelName( const QString&
|
||||
std::vector<RimWellLogFile*> allWellLogFiles = wellLogFiles();
|
||||
for ( RimWellLogFile* logFile : allWellLogFiles )
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> channels = logFile->wellLogChannels();
|
||||
for ( RimWellLogFileChannel* channel : channels )
|
||||
std::vector<RimWellLogChannel*> channels = logFile->wellLogChannels();
|
||||
for ( RimWellLogChannel* channel : channels )
|
||||
{
|
||||
if ( channel->name() == channelName )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user