Cintia Goncalves Machado
af1043612a
addWEIs
2020-09-28 13:21:19 +02:00
Cintia Goncalves Machado
72efad2a8f
finalizeSummary
2020-09-28 13:21:19 +02:00
Cintia Goncalves Machado
dd4de4130a
addEnergyRatetoUnitSystem
2020-09-28 13:21:19 +02:00
Cintia Goncalves Machado
4a721cffbb
addWEPTandWEPRtoSummary
2020-09-28 13:21:18 +02:00
Joakim Hove
3036441c8c
Merge pull request #1967 from joakim-hove/throw-opm-error
...
Throw opm error
2020-09-28 12:50:36 +02:00
Joakim Hove
a4038b3d9e
Wrap SummaryConfig construction in try catch
2020-09-28 11:29:27 +02:00
Joakim Hove
5b6e9f7c92
Wrap Schedule construction in try catch
2020-09-28 09:22:56 +02:00
Joakim Hove
1168e616cd
Wrap EclipseState construction in try catch
2020-09-27 23:24:30 +02:00
Joakim Hove
c1ea966548
Add static function OpmInputError::format()
2020-09-27 22:14:53 +02:00
Joakim Hove
8c2ed38cf4
Parse differentiates between OpmInputError and std::exception
2020-09-27 22:00:37 +02:00
Joakim Hove
6ee4e5ce9a
Merge pull request #1962 from wito/schedule-keyword-cleanup
...
Various Code Consistency Changes in Schedule.
2020-09-27 10:16:10 +02:00
Joakim Hove
66a9138006
Merge pull request #1965 from joakim-hove/rsm-cmp-eps
...
Increase the epsilon used for comparing summary and rsm files
2020-09-25 23:28:38 +02:00
Joakim Hove
ac4157a66c
Increase the epsilon used for comparing summary and rsm files
2020-09-25 22:08:05 +02:00
Bård Skaflestad
83cfe4b50c
Merge pull request #1964 from wito/iterator-reference-fix
...
Range Variable Correction
2020-09-25 18:22:44 +02:00
Williham Williham Totland
6a8f3e16c0
Corrects range variable to a reference.
2020-09-25 16:20:22 +02:00
Williham Williham Totland
2e8e613722
Makes use of braces consistent within if-else sections.
2020-09-25 15:10:23 +02:00
Williham Williham Totland
e8595a6076
Various whitespace fixes.
2020-09-25 15:07:20 +02:00
Williham Williham Totland
24296bf7ee
Extracts variables that depend only on record to the outer loop.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
e0344b828d
Consts variables.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
29bfdd00bf
Extracts access that depend only on record
to the outer loop.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
cd93de5e12
Extracts variables that only depend on record
to outer loop.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
ad03a50536
Improves consistency of well_names phrase.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
c19221eab8
Removes temporary variable name.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
fab78873f2
Removes extraneous scope block.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
461d8815a0
Normalises all occurences of size_t
to std::size_t
2020-09-25 15:06:08 +02:00
Williham Williham Totland
1de3a84a53
Documents use of the keyword handler dispatcher.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
56e8750d9e
Removes extraneous scope blocks.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
51a8d35788
Normalises if and for clause whitespace.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
d5cd8cf78e
Removes extraneous scope blocks.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
6d6b10a9fa
Normalises indentation and whitespace.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
c17824cead
Removes using
namespace shortcuts.
2020-09-25 15:06:08 +02:00
Williham Williham Totland
0d962fc585
Removes some unnecessary includes.
2020-09-25 15:06:08 +02:00
Atgeirr Flø Rasmussen
fbe723a874
Merge pull request #1952 from joakim-hove/cir-negative
...
Cir negative
2020-09-25 14:06:22 +02:00
Joakim Hove
ab68722eca
Merge pull request #1960 from wito/schedule-keyword-handlers
...
Moves keyword handlers from Schedule.cpp to KeywordHandlers.cpp
2020-09-25 13:45:05 +02:00
Joakim Hove
629b561f75
Merge pull request #1957 from totto82/salinity
...
Add keyword SALINITY with unit molality
2020-09-25 12:28:19 +02:00
Williham Williham Totland
86eb1bf94e
Renames handleEXIT
to applyEXIT
.
2020-09-25 10:12:55 +02:00
Williham Williham Totland
5c49832cd1
Extracts keyword handlers into KeywordHandlers.cpp
2020-09-25 10:02:52 +02:00
Joakim Hove
003537ea77
Merge pull request #1959 from akva2/janitoring
...
add missing initializer to quell warning
2020-09-25 09:52:52 +02:00
Tor Harald Sandve
dfdb844d69
add SALINITY. Unit is molality [mol/kg] for all unit systems
2020-09-25 09:39:11 +02:00
Arne Morten Kvarving
617440485f
remove unused variable
2020-09-25 09:21:09 +02:00
Arne Morten Kvarving
99a6fc30a1
throw to avoid no return value warning
2020-09-25 09:20:57 +02:00
Arne Morten Kvarving
50de318947
add missing initializer to quell warning
2020-09-25 09:18:46 +02:00
Joakim Hove
b6f192b7f2
Merge pull request #1958 from joakim-hove/smry-cmp-verbose
...
Add error message when comparing summary and rsm files
2020-09-25 08:50:32 +02:00
Joakim Hove
2985072083
Add error message when comparing summary and rsm files
2020-09-24 16:45:59 +02:00
Bård Skaflestad
3db68b0731
Merge pull request #1955 from jalvestad/rstfile-imp-v3t
...
Handle WSEGITER keyword data and WELSEGS keyword item 6 for Eclipse compatible restart file
2020-09-24 14:49:34 +02:00
Jostein Alvestad
1b488037e1
added / changed comments to well.hpp to clarify their meaning
2020-09-24 14:37:10 +02:00
Joakim Hove
b9f95089b9
Merge pull request #1949 from joakim-hove/error-prepare
...
Error prepare
2020-09-24 07:33:22 +02:00
Joakim Hove
c7d8d17bf0
Merge pull request #1938 from bska/support-nonmonotone-bo
...
Support Non-Monotonic Saturated Oil FVF in PVTO
2020-09-24 07:19:45 +02:00
Bård Skaflestad
1dd1b71095
PVTO: Switch to Using {fmt} Backend for Formatting
...
This commit switches the custom diagnostic message formatting based
on std::ostringstream to using a formatter implemented in terms of
the fmt::format function. This removes the custom indentation from
earlier. Note that we output at most four records to the console,
including a message limit notification if applicable, and that this
limit is currently not adjustable by the user. We do on the other
hand output all flipped records to the .PRT file.
New Example Diagnostic Output:
* To the Console
Warning: Non-Monotonic Oil Formation Volume Factor Detected in Keyword PVTO, PVTNUM=1
In /path/to/PVTO.INCL line 6
Record 9: FVF 1.234 at RS 123.456 is not greater than FVF 2.345 at RS 121.212
Record 10: FVF 1.233 at RS 123.457 is not greater than FVF 1.234 at RS 123.456
Record 11: FVF 1.233 at RS 123.460 is not greater than FVF 1.233 at RS 123.457
Report limit reached, see PRT-file for additional records.
* In the PRT File (Unlimited Records)
Warning: Non-Monotonic Oil Formation Volume Factor Detected in Keyword PVTO, PVTNUM=1
In /path/to/PVTO.INCL line 6
Record 9: FVF 1.234 at RS 123.456 is not greater than FVF 2.345 at RS 121.212
Record 10: FVF 1.233 at RS 123.457 is not greater than FVF 1.234 at RS 123.456
Record 11: FVF 1.233 at RS 123.460 is not greater than FVF 1.233 at RS 123.457
Record 12: FVF 1.233 at RS 123.461 is not greater than FVF 1.233 at RS 123.460
Record 13: FVF 1.233 at RS 123.470 is not greater than FVF 1.233 at RS 123.461
The length of each 'Record' line is 78 characters as of this change
(assuming METRIC conventions, FIELD conventions not tested). The
length of the 'In ...' line depends on the number of characters in
the full filepath.
2020-09-24 00:43:03 +02:00
Bård Skaflestad
db07a19c68
PVTO: Relax Requirement that Saturated FVF be Strictly Increasing
...
Such cases do happen in real field models and we should diagnose the
existence of non-increasing BO as a function of RS, but we should
not terminate the simulation run.
2020-09-24 00:43:02 +02:00