mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1974 Dyn NNC : Read dyn NNC if flux data is available
This commit is contained in:
parent
b604f85d8e
commit
a5e684ffee
@ -411,7 +411,11 @@ bool RifReaderEclipseOutput::open(const QString& fileName, RigEclipseCaseData* e
|
|||||||
transferStaticNNCData(mainEclGrid, m_ecl_init_file, eclipseCase->mainGrid());
|
transferStaticNNCData(mainEclGrid, m_ecl_init_file, eclipseCase->mainGrid());
|
||||||
progInfo.incrementProgress();
|
progInfo.incrementProgress();
|
||||||
|
|
||||||
transferDynamicNNCData(mainEclGrid, eclipseCase->mainGrid());
|
// This test should probably be improved to test more directly for presence of NNC data
|
||||||
|
if (m_eclipseCase->results(RiaDefines::MATRIX_MODEL)->hasFlowDiagUsableFluxes())
|
||||||
|
{
|
||||||
|
transferDynamicNNCData(mainEclGrid, eclipseCase->mainGrid());
|
||||||
|
}
|
||||||
progInfo.incrementProgress();
|
progInfo.incrementProgress();
|
||||||
|
|
||||||
progInfo.setProgressDescription("Processing NNC data");
|
progInfo.setProgressDescription("Processing NNC data");
|
||||||
|
Loading…
Reference in New Issue
Block a user