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:
@@ -613,10 +613,13 @@ void RimEclipseCase::computeCachedData()
|
||||
if ( computeFaults )
|
||||
{
|
||||
bool computeNncs = RiaApplication::instance()->preferences()->readerSettings()->importNNCs();
|
||||
bool includeInactiveCells =
|
||||
RiaApplication::instance()->preferences()->readerSettings()->includeInactiveCellsInFaultGeometry();
|
||||
|
||||
rigEclipseCase->mainGrid()->calculateFaults( rigEclipseCase->activeCellInfo(
|
||||
RiaDefines::PorosityModelType::MATRIX_MODEL ),
|
||||
computeNncs );
|
||||
computeNncs,
|
||||
includeInactiveCells );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -136,9 +136,12 @@ RigMainGrid* RimEclipseCaseCollection::registerCaseInGridCollection( RigEclipseC
|
||||
if ( computeFaults )
|
||||
{
|
||||
bool computeNncs = RiaApplication::instance()->preferences()->readerSettings()->importNNCs();
|
||||
bool includeInactiveCells =
|
||||
RiaApplication::instance()->preferences()->readerSettings()->includeInactiveCellsInFaultGeometry();
|
||||
rigEclipseCase->mainGrid()->calculateFaults( rigEclipseCase->activeCellInfo(
|
||||
RiaDefines::PorosityModelType::MATRIX_MODEL ),
|
||||
computeNncs );
|
||||
computeNncs,
|
||||
includeInactiveCells );
|
||||
}
|
||||
|
||||
equalGrid = rigEclipseCase->mainGrid();
|
||||
|
||||
Reference in New Issue
Block a user