Joakim Hove
f80b220b44
Change OrderMap to more closely resemble std::map
...
- Removed the hasKey() and get() methods.
- Key type is a template parameter
- insert takes a pair
- implement count()
- implement find()
- implement operator[]
- implement erase
2019-03-11 10:34:04 +01:00
Joakim Hove
3542d43c72
Merge pull request #675 from joakim-hove/aquifer-include
...
Aquifer include
2019-03-11 10:20:39 +01:00
Joakim Hove
8c6cfdc704
Forward declare EclipseState in AquiferCT header
2019-03-11 08:58:43 +01:00
Joakim Hove
f38e1511b5
White space
2019-03-11 08:54:33 +01:00
Joakim Hove
f4196ff25e
Add ParseContext for undefined UDQ
2019-03-09 10:19:11 +01:00
Joakim Hove
25d7e99413
Add UDQInput methods has_keyword() and has_unit()
2019-03-09 10:19:03 +01:00
Joakim Hove
b4edd0acda
White space
2019-03-09 09:01:21 +01:00
Joakim Hove
1ecd62d98d
Merge pull request #667 from joakim-hove/move-wells
...
Move all well related files to subfolder Well/
2019-03-08 12:42:08 +01:00
Joakim Hove
04d42c2f4e
Move well and well related files to Well/ subfolder
2019-03-08 07:15:49 +01:00
Joakim Hove
ccba767b24
Add utility constructors and testing to UDQWellSet
2019-03-07 11:35:55 +01:00
Joakim Hove
585447fd22
Move UDQ action enum to UDQEnums
2019-03-07 11:35:55 +01:00
Joakim Hove
fa2e0efd17
Make UDQFunctionTable copyable with std::shared
2019-03-07 11:35:55 +01:00
Joakim Hove
c244625865
Add wells() method to SummaryState
2019-03-07 11:35:55 +01:00
Joakim Hove
af7693ef6b
Add parse option keep '/' in data sections
...
The records are norally terminated on the first unquoted '/', but for the UDQ
and ACTIONX keywords the data sections of a keyword contain mathematical
expressions which can contain '/' literals. This commit adds a per-keyword
ability to terminate the records on the last '/' instead of the first '/'.
2019-03-05 07:15:29 +01:00
Sogo Shiozawa
275cf03f0d
Include <string>
2019-02-27 15:42:21 +09:00
Joakim Hove
6bf64b18fe
Add method to get filtered UDQ assignment types
2019-02-25 11:15:12 +01:00
Joakim Hove
a91d47f191
Add name property to UDQSet
2019-02-25 11:15:12 +01:00
Joakim Hove
7425f8b988
Implement UDQ functions
2019-02-25 08:37:04 +01:00
Joakim Hove
945438b210
Add rng to UDQParams
2019-02-25 08:36:33 +01:00
Joakim Hove
19988494c0
Add UDQVartype member to assignment and expression
2019-02-21 13:36:08 +01:00
Joakim Hove
b5542c4e56
Add UDQEnum type for the different variable types
2019-02-21 13:36:08 +01:00
Joakim Hove
40bd7b86b0
Renamed UDQ -> UDQInput
2019-02-21 13:36:08 +01:00
Joakim Hove
732c5ae4d2
Add class UDQAssign
2019-02-20 18:21:23 +01:00
Joakim Hove
999b06b0eb
Add dervied class UDQWellSet : UDQSet
2019-02-20 18:21:23 +01:00
Joakim Hove
e27933270a
Change UDQExpression() constructor to take enum
2019-02-20 18:21:23 +01:00
Joakim Hove
946d1cb877
Add subdirectory Schedule/UDQ/
2019-02-18 08:58:20 +01:00
Joakim Hove
a1b8303ac3
Add class UDQSet() to hold UDQ values
2019-02-18 08:58:20 +01:00
Joakim Hove
4c0c394b77
Changed copyright holder
2019-02-18 08:58:20 +01:00
Joakim Hove
3d4b467a2f
Add UDQContext class to be used while evaluating UDQ keywords
2019-02-08 06:34:05 +01:00
Joakim Hove
7451e6618f
Minor reformatting/white space change
2019-02-08 06:34:05 +01:00
Bård Skaflestad
6cc65ada59
Add Tool for Checking Array Dimensions
...
This commit introduces a new function,
Opm::checkConsistentArrayDimensions()
that inspects various dynamic array/table sizes and compares those
to the maximum dimensions requested in the relevant *DIMS keywords
of the RUNSPEC section.
At present we check only items one through four of WELLDIMS since
those are directly relevant for the ECLIPSE-compatible output code.
We leverage the ErrorGuard to integrate into the existing mechanism
for terminating a simulation run if there's a parse failure.
2019-02-07 14:29:08 +01:00
Bård Skaflestad
7bf635ef59
Parse Context: Add Keys for Items 1-4 of WELLDIMS
...
This commit introduces Parse Context keys that govern the parser's
behaviour in the case of a simulation run using dynamic sizes that
happen to exceed the maximum sizes declared in the RUNSPEC keyword
WELLDIMS. The default action for these keys is DELAYED_EXIT1, which
reflects the fact that it is impossible to create ECLIPSE-compatible
restart files if the run exceeds those maximum sizes.
2019-02-07 14:29:08 +01:00
Bård Skaflestad
c138e78ddb
Group Tree: Prune Undefined Function
...
Member function GroupTree::groupTreeSize() was never defined (or
used). Remove its declaration to reduce opportunity for confusion.
2019-02-07 14:29:08 +01:00
Bård Skaflestad
1bca0f6480
Merge pull request #637 from joakim-hove/long-keywords
...
Add ParseContext::PARSE_LONG_KEYWORD
2019-02-07 14:26:29 +01:00
Joakim Hove
b900441ac6
Merge pull request #610 from jalvestad/restart_hyster
...
Add changes to correct problems/errors with Eclipse restarts from flow with hysteresis and well crossflow
2019-02-06 16:45:17 +01:00
Joakim Hove
65b629e423
Add ParseContext::PARSE_LONG_KEYWORD
...
The ParserContext error mode PARSE_LONG_KEYWORD is used to handle keywords
longer than 8 characters. The lenient option is to only consider the first 8
characters.
2019-02-04 17:17:00 +01:00
Bård Skaflestad
e9756c3ee5
Merge pull request #622 from joakim-hove/udq-units
...
UDQ - hook the configuration up in the Schedule object
2019-02-03 22:24:02 +01:00
Bård Skaflestad
ecca175ccd
Merge pull request #615 from joakim-hove/msim-actionx
...
Msim actionx
2019-02-03 22:19:54 +01:00
Joakim Hove
2caf82baff
Move check for legitimate keywords to ActionX
2019-02-03 18:07:04 +01:00
Joakim Hove
d82be29745
ACTIONX: Works with WELOPEN and msim
2019-02-02 17:35:56 +01:00
Joakim Hove
42d08db25b
Add UDQ configuration as DynamicState<> to schedule
2019-02-02 17:09:44 +01:00
Jostein Alvestad
981e6c9b22
Added changes to improve code quality according to comments from Joakim Hove
2019-02-01 08:36:11 +01:00
Jostein Alvestad
6db8a45d88
Changes to avoid name conflict
2019-02-01 08:36:05 +01:00
Jostein Alvestad
c33f69fd1b
Added changes to extend the eclipse restart file export to handle hysteresis option in eclipse
2019-02-01 08:33:13 +01:00
Joakim Hove
1574d7714d
Merge pull request #617 from joakim-hove/simulator-missing-keyword
...
Simulator missing keyword
2019-01-30 16:26:50 +01:00
Joakim Hove
27eaeb2ec9
Renamed UDQConfig -> UDQParams
2019-01-28 16:53:01 +01:00
Joakim Hove
420b66822b
Add iterators to the keywords in the body of ACTIONX
2019-01-28 11:58:31 +01:00
Joakim Hove
29db657757
Add new error modes SIMULATOR_KEYWORD_NOT_SUPPORTED
2019-01-25 18:07:46 +01:00
Joakim Hove
b4c86e73af
Members ActionX::last_run and ActionX::run_count mutable
2019-01-22 18:08:14 +01:00
Joakim Hove
f3a82ddd70
Add Schedule::simTime() method
2019-01-22 18:08:14 +01:00