mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5925 NNC computations : Add flag in preferences to include inactive cells
This commit is contained in:
@@ -413,7 +413,7 @@ bool RigMainGrid::hasFaultWithName( const QString& name ) const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigMainGrid::calculateFaults( const RigActiveCellInfo* activeCellInfo, bool computeNncs )
|
||||
void RigMainGrid::calculateFaults( const RigActiveCellInfo* activeCellInfo, bool computeNncs, bool includeInactiveCells )
|
||||
{
|
||||
if ( hasFaultWithName( RiaDefines::undefinedGridFaultName() ) &&
|
||||
hasFaultWithName( RiaDefines::undefinedGridFaultWithInactiveName() ) )
|
||||
@@ -558,7 +558,7 @@ void RigMainGrid::calculateFaults( const RigActiveCellInfo* activeCellInfo, bool
|
||||
|
||||
if ( computeNncs )
|
||||
{
|
||||
this->nncData()->computeCompleteSetOfNncs( this, activeCellInfo );
|
||||
this->nncData()->computeCompleteSetOfNncs( this, activeCellInfo, includeInactiveCells );
|
||||
}
|
||||
|
||||
distributeNNCsToFaults();
|
||||
|
||||
Reference in New Issue
Block a user