mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5913 Import NNC : Do not compute NNCs if importNNCs is disabled in preferences
This commit is contained in:
@@ -608,8 +608,12 @@ void RimEclipseCase::computeCachedData()
|
||||
|
||||
{
|
||||
auto task = pInf.task( "Calculating faults", 17 );
|
||||
rigEclipseCase->mainGrid()->calculateFaults(
|
||||
rigEclipseCase->activeCellInfo( RiaDefines::PorosityModelType::MATRIX_MODEL ) );
|
||||
|
||||
bool computeNncs = RiaApplication::instance()->preferences()->readerSettings()->importNNCs();
|
||||
|
||||
rigEclipseCase->mainGrid()->calculateFaults( rigEclipseCase->activeCellInfo(
|
||||
RiaDefines::PorosityModelType::MATRIX_MODEL ),
|
||||
computeNncs );
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user