Commit Graph
40 Commits
Author SHA1 Message Date
Joakim Hove 7b8590f7ee Remove extra printf 2020-11-02 16:37:56 +01:00
Joakim Hove 206243c78d Compare string and integere members from well using RestartIO data 2020-10-12 10:11:07 +02:00
Kai Bao 405e3e1add attempting to adding segment summary keywords for regression test 2020-06-10 10:39:45 +02:00
Torbjørn Skille c430eeb374 Adding support for LODSMRY file
> implemented for unified and multiple, and for formatted and binary summary files
 > avaliable/used only when loadBaserun is false (default)
2020-05-14 07:39:23 +02:00
Torbjørn Skille 43f1739dfa improved efficiency when opening summary files.
> loading only arrays that is used (DIMENS, RESTART, KEYWORDS, NUMS and UNITS)
 > smspec file now only loading arrays once (twice before)
2020-04-26 18:24:01 +02:00
Arne Morten Kvarving 751a1c28fa fixed: do not use integer abs 2020-04-26 12:32:27 +02:00
Torbjørn Skille 54087e3bd8 Effective LOD for ESmry 2020-04-19 20:59:38 +02:00
Kai Bao 8e4d4827a2 adding the test for new segment summary keywords 2020-04-17 00:38:21 +02:00
Torbjørn Skille e5583b738f Updates of ESmry
- new overload function for keywordList, list keys based on pattern (string argument)
 - summary program wild card elements (keys including * or ?)
 - python bindings to new member function
2020-04-10 10:10:58 +02:00
Joakim Hove cee75dcaac Add basic regression testing of RSM file 2020-04-05 17:32:07 +02:00
Atgeirr Flø Rasmussen 2d52268bf8 Fix type mismatch error for EclEntry. 2020-03-24 08:05:34 +01:00
Torbjørn Skille d258ce5a57 Updates of C++ class ERft to be used with python bindings
-> Support for extracting data based on report index
  -> adding extra float (time) to RftReportList
2020-03-23 10:57:49 +01:00
Torbjørn Skille e3ae38feb9 Adding support for large arrays using X231 format extension
- EclIO classes have been updated to support arrays with size beyond numeric limits for integers
- Output of arrays having 2^31 or more elements is facilitated by using a pair of headers
- The first header is of type X231, second should have the actual type
- The large array format extension is documented in the Eclipse File format manual
2020-03-16 18:58:25 +01:00
Torbjørn Skille bfca7c9fe8 Disable checking of DOUBHEAD[1] with compareECL 2020-02-07 12:53:45 +01:00
Joakim Hove 26644b1e9f Temporary: allow keyword reordering errors INIT file regression test 2019-12-16 12:11:06 +01:00
Joakim Hove d990932d0c Special case reordering of keywords in the INIT file regression test 2019-12-05 14:25:14 +01:00
Joakim Hove 26773359a4 compareECL: Set throwOnError to false together with analysis=true 2019-12-05 14:25:14 +01:00
Joakim Hove c309c6a7e6 Merge pull request #1226 from blattms/fix-type-more-info-compareECL
Fixed typos and included more info into compareECL's exceptions
2019-11-15 11:41:11 +01:00
Markus Blatt 6761f3dc57 Fixed typos and included more info into compareECL's exceptions 2019-11-15 10:20:33 +01:00
Atgeirr Flø Rasmussen 87a0e0e402 Fix abs() ambiguity, add copyright headers. 2019-11-14 13:09:35 +01:00
Torbjørn Skille 59e0c39558 New program summary based on OPM I/O classes 2019-11-12 13:27:26 +01:00
Torbjørn Skille c6f8a41c43 updates of ERst api, supports multiple occurrences of array names 2019-11-05 15:01:17 +01:00
Torbjørn Skille 7b2a7aa419 Changed EGrid API, function getCellCorners. Changed from std::vector<double> to std::array<double,8> 2019-09-28 17:46:04 +02:00
Torbjørn Skille 8664ce4af7 convertECL update, fixed bug with file extensions when converting from formatted to binary 2019-09-16 15:02:21 +02:00
Arne Morten Kvarving c0c6f35099 fixed: use of iterator after erase 2019-09-03 12:33:11 +02:00
Joakim Hove f898d33e65 Merge pull request #876 from tskille/compareECL2
Update of compareECL - check output files for reference case
2019-08-14 16:31:16 +02:00
Torbjørn Skille d51c31634a Updated with vector of backlisted keywords. These keywords will not be checked.
This list contains only summary vector TCPU.

keywordsBlackList will work on all file types (INIT, UNRST, RFT and SMSPEC/UNSMRY)

wildcards (*) not supported
2019-08-14 12:25:38 +02:00
Torbjørn Skille a23c87be94 convertECL, new option for unified restart file 2019-07-19 10:39:12 +02:00
Arne Morten Kvarving c87acf6571 fixed: remove unused variable and limit scope for another 2019-07-10 15:10:29 +02:00
Arne Morten Kvarving c720dfe8a8 fixed: move string to avoid copy 2019-07-10 15:10:18 +02:00
Arne Morten Kvarving b860fdbccc fixed: use initializer list 2019-07-10 09:03:36 +02:00
Arne Morten Kvarving 4dbb33cce6 changed: rescope code relying on grid under if()
rewrite to aid static code analyzer
2019-07-10 09:03:36 +02:00
Torbjørn Skille a7aa78b7e9 Update of compareECL. Checks that at least one output file (EGRID, INIT, SMSPEC, RFT or UNRST) present for reference case. Throws if not the case 2019-07-02 15:46:48 +02:00
Torbjørn Skille 51adb23728 Added new option (report steps only) for compareECL for comparing summary results 2019-07-01 16:37:49 +02:00
Joakim Hove 29697a0906 Remove members keywords1 and keywords2 from EclFilesComparator 2019-06-26 07:51:36 +02:00
Kai Bao ca7fe55934 silencing shadowing warnings 2019-06-25 13:16:41 +02:00
Atgeirr Flø Rasmussen 4018e4b70b This silences many, but not all shadowing warnings in opm-common.
Includes minor refactoring of ESMry and AggregateGroupData undertaken
with the aid of the original authors to ensure correctness.
2019-06-21 14:48:23 +02:00
Torbjørn Skille 66e8068494 Use tolerances from command line for restart array SWEL 2019-06-12 19:06:52 +02:00
Bård Skaflestad 82b0a2d82b ECLIPSE I/O: Rename Namespace Opm::ecl -> Opm::EclIO
This reduces the risk of conflicting with the 'ecl' namespace from
LibECL, especially when the latter name is used from within the Opm
namespace.
2019-06-03 14:19:48 +02:00
Bård Skaflestad e654915069 Move ECLIPSE I/O Into Main OPM Common Library
This makes the facility usable for the restart read/write code.

Specifically, import the I/O classes into namespace Opm::ecl, and
place the files in physical location opm/io/eclipse, and move the
test utilities to new top-level directory 'test_util/'.  While here,
discontinue the 'testutil' static library since most of its features
are now available in the main 'opmcommon' library.  This does entail
compiling a few of the test_util/ CPP files multiple times, and
adding the objects to each executable independently.
2019-05-23 10:23:01 +02:00