mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: Use more generic base class.
This commit is contained in:
parent
0477371e0d
commit
5be47b3d2c
@ -144,9 +144,9 @@ bool RimWellPlotTools::hasPressureData( RimEclipseResultCase* gridCase )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPlotTools::hasFlowData( const RimWellLogFile* wellLogFile )
|
||||
bool RimWellPlotTools::hasFlowData( const RimWellLog* wellLog )
|
||||
{
|
||||
for ( RimWellLogChannel* const wellLogChannel : wellLogFile->wellLogChannels() )
|
||||
for ( RimWellLogChannel* const wellLogChannel : wellLog->wellLogChannels() )
|
||||
{
|
||||
if ( isFlowChannel( wellLogChannel ) ) return true;
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ public:
|
||||
static RiaRftPltCurveDefinition curveDefFromCurve( const RimWellLogCurve* curve );
|
||||
|
||||
// others
|
||||
static bool hasFlowData( const RimWellLogFile* wellLogFile );
|
||||
static bool hasFlowData( const RimWellLog* wellLog );
|
||||
static bool hasAssociatedWellPath( const QString& wellName );
|
||||
|
||||
// Both
|
||||
|
Loading…
Reference in New Issue
Block a user