mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Refactor: rename WellLogFileChannel to WellLogChannel.
This commit is contained in:
1 parent
9858d09a33
commit
c1aba471f2
30 files changed
+82
-83
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user