mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
Grid preferences update (#11547)
* Refactor RifReaderSettings and grid preferences tab
This commit is contained in:
1 parent
899fdba5db
commit
868e9916bc
32 files changed
+566
-388
No files matched your search
@@ -23,14 +23,13 @@
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaFieldHandleTools.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaPreferencesGrid.h"
|
||||
|
||||
#include "RifEclipseInputFileTools.h"
|
||||
#include "RifInputPropertyLoader.h"
|
||||
#include "RifReaderEclipseInput.h"
|
||||
#include "RifReaderInterface.h"
|
||||
#include "RifReaderMockModel.h"
|
||||
#include "RifReaderSettings.h"
|
||||
|
||||
#include "RigActiveCellInfo.h"
|
||||
#include "RigCaseCellResultsData.h"
|
||||
@@ -107,7 +106,7 @@ bool RimEclipseInputCase::openDataFileSet( const QStringList& fileNames )
|
||||
setReservoirData( new RigEclipseCaseData( this ) );
|
||||
}
|
||||
|
||||
bool importFaults = RiaPreferences::current()->readerSettings()->importFaults();
|
||||
bool importFaults = RiaPreferencesGrid::current()->importFaults();
|
||||
|
||||
std::vector<QString> allErrorMessages;
|
||||
|
||||
@@ -225,7 +224,7 @@ bool RimEclipseInputCase::openEclipseGridFile()
|
||||
computeCachedData();
|
||||
}
|
||||
|
||||
if ( RiaPreferences::current()->autocomputeDepthRelatedProperties )
|
||||
if ( RiaPreferencesGrid::current()->autoComputeDepthRelatedProperties() )
|
||||
{
|
||||
results( RiaDefines::PorosityModelType::MATRIX_MODEL )->computeDepthRelatedResults();
|
||||
results( RiaDefines::PorosityModelType::FRACTURE_MODEL )->computeDepthRelatedResults();
|
||||
|
||||
Reference in new issue
Block a user