mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Updated ERT to 315ceeee250808ea6a6530233dd5125f9f76f06c
Support of reading LGR dimensions Close file handles between access to files, keep ERT file-related cache to speed up reading of many files multiple times p4#: 21477
This commit is contained in:
@@ -55,7 +55,9 @@ int main(int argc, char ** argv) {
|
||||
bool fmt_src , fmt_target;
|
||||
set_type * kw_set = set_alloc( num_kw , kw_list );
|
||||
|
||||
fmt_src = ecl_util_fmt_file(src_file);
|
||||
if (!ecl_util_fmt_file(src_file, &fmt_src))
|
||||
util_exit("Hmm - could not determine formatted/unformatted status for:%s \n",src_file);
|
||||
|
||||
fmt_target = fmt_src; /* Can in principle be different */
|
||||
fortio_src = fortio_open_reader(src_file , fmt_src , ECL_ENDIAN_FLIP);
|
||||
fortio_target = fortio_open_writer(target_file , fmt_target , ECL_ENDIAN_FLIP);
|
||||
|
||||
Reference in New Issue
Block a user