Joakim Hove
af2a09bde5
Make sure actionx keywords can be redefined
2019-09-03 13:47:30 +02:00
Joakim Hove
2aa10a0435
Internalize ActionX conditions to enable restart
2019-09-03 13:47:30 +02:00
Joakim Hove
208c1a7143
Convert Schedule::Actions to a DynamicState<Actions>
2019-09-03 13:47:30 +02:00
Joakim Hove
359955efc3
Action: capture matching wells correctly + large refactor
...
With this commit the result of a ACTIONX evaluation goes to the new type
Action::Result which in addition to the overall thruthness of the expression
keeps track of the list of matching wells.
Introduced a new namespace Action for everything related to the ACTIONX
implemenentation.
2019-08-09 15:43:58 +02:00
Joakim Hove
9e288a9d78
Refactor SummaryState
...
- Change SummaryState::add() -> SummaryState::update(), the
SummaryState::update() method is semantically aware of totals.
- Add an internal variable to the SummaryState class to keep track of the
elapsed simulation time.
2019-05-13 11:06:32 +02:00
Joakim Hove
15a7d7597d
Update ASTNode::eval() to handle Well selectors like 'P*'
2019-03-07 11:35:55 +01:00
Joakim Hove
d82be29745
ACTIONX: Works with WELOPEN and msim
2019-02-02 17:35:56 +01:00
Joakim Hove
d9585d6585
Reorganized the ACTIONX implementation - made large parts private
2019-01-21 18:07:24 +01:00
Joakim Hove
586f296de0
The matching wells are compined with && or ||
2019-01-17 11:33:57 +01:00
Joakim Hove
fc0e61518b
Merge pull request #566 from joakim-hove/capture-wells
...
Add functionality to capture matching wells when evaluating ACTIONX
2019-01-09 18:05:56 +01:00
Joakim Hove
2cd6fa2f49
Add overloads without ParseContext and ErrorGuard - update all tests
2019-01-04 13:59:28 +01:00
Joakim Hove
15c473e3bb
Implement support for well capture when evaluating ACTIONX
2019-01-02 14:03:25 +01:00
Joakim Hove
6465b5b23c
Add small class ActionValue to hold action eval result
2019-01-02 14:03:25 +01:00
Joakim Hove
9e93dc5af2
Add method wells() to ActionContext class
2019-01-02 11:30:56 +01:00
Joakim Hove
6921801eec
Add method Schedule::evalActions() to evaluate ACTIONX
2018-11-19 09:57:06 +01:00
Joakim Hove
36c3080f85
ActionContext internalizes a SummaryState object
2018-11-09 21:58:36 +01:00
Joakim Hove
212a1fde5f
Parse condition part in ACTIONX
2018-11-09 20:19:34 +01:00
Tor Harald Sandve
e2d748906e
Fix failure in actionx test after rebase
2018-11-05 13:48:36 +01:00
Tor Harald Sandve
95179f393c
Fix vappars and dr[sv]dt logic
...
The simulator should either use VAPPERS or dr[sv]dt, both the
combination drsdt and drvdt is allowed.
2018-11-05 13:38:42 +01:00
Joakim Hove
68e6926355
Add Actions container and ActionContext for eval
2018-11-02 10:55:29 +01:00
Joakim Hove
b8c5d8c129
Add whitelist of keywords allowed in ACTIONX block
2018-10-27 15:59:32 +02:00
Joakim Hove
451d52c18a
Refactor iteration over Schedule section to for ACTIONX
2018-08-10 11:30:07 +02:00
Joakim Hove
bbb5e27e90
Add basic ACTIONX keyword
2018-08-10 11:29:46 +02:00