mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
NNC: Compute data on demand
This commit is contained in:
@@ -187,9 +187,9 @@ size_t RigNNCData::connectionsWithNoCommonArea( QStringList& connectionTextFirst
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigNNCData::ensureConnectionDataIsProcecced()
|
||||
bool RigNNCData::ensureConnectionDataIsProcecced()
|
||||
{
|
||||
if ( m_connectionsAreProcessed ) return;
|
||||
if ( m_connectionsAreProcessed ) return false;
|
||||
|
||||
if ( m_mainGrid )
|
||||
{
|
||||
@@ -229,6 +229,8 @@ void RigNNCData::ensureConnectionDataIsProcecced()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
RigNNCData();
|
||||
|
||||
void ensureConnectionDataIsProcecced();
|
||||
bool ensureConnectionDataIsProcecced();
|
||||
void setSourceDataForProcessing( RigMainGrid* mainGrid,
|
||||
const RigActiveCellInfo* activeCellInfo,
|
||||
bool includeInactiveCells );
|
||||
|
||||
Reference in New Issue
Block a user