mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8143 Performance: Avoid parsing grid GRDECL file twice
Previous implementation parsed grid file twice both for geometry data and properties.
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaStringEncodingTools.h"
|
||||
|
||||
#include "RifEclipseInputPropertyLoader.h"
|
||||
#include "RifEclipseKeywordContent.h"
|
||||
#include "RifEclipseTextFileReader.h"
|
||||
#include "RifReaderEclipseOutput.h"
|
||||
|
||||
@@ -190,6 +192,9 @@ bool RifEclipseInputFileTools::openGridFile( const QString& fileName,
|
||||
|
||||
ecl_grid_free( inputGrid );
|
||||
|
||||
// Import additional keywords as input properties
|
||||
RifEclipseInputPropertyLoader::createInputPropertiesFromKeywords( eclipseCase, objects );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user