Joakim Hove
50fb51d56e
Add Python arg to Schedule constructor
2020-03-27 12:43:18 +01:00
Joakim Hove
3e2160af28
Merge pull request #1608 from joakim-hove/connections-sort-item
...
Connections sort item
2020-03-26 17:52:54 +01:00
Bård Skaflestad
5a701a2ee8
Merge pull request #1609 from wito/new-summarynode
...
New SummaryNode implementation
2020-03-26 11:34:21 +01:00
Joakim Hove
9ad8465609
Replace connection segIndex and compSeqIndex with sort_value member
2020-03-25 18:02:40 +01:00
Joakim Hove
c7d3603184
Changes in WellConnection ordering
...
1. If the well is MSW the connections in the WellConnection class is sorted in
output order in the ::order() method, and retained that way.
2. Add method WellConnection::output() which return a vector of connection
pointers sorted in output order.
2020-03-25 10:54:21 +01:00
Joakim Hove
611b21beab
Add serialization active member
2020-03-24 08:40:13 +01:00
Joakim Hove
9ce64d5aae
Add copy constructor and assignment operator to PyAction
2020-03-24 08:07:21 +01:00
Joakim Hove
a0ebb2091f
Add method Actions::pending_python() to get active Python functions
2020-03-24 07:23:31 +01:00
Joakim Hove
4c25ce69c1
Add mutable bool active member to PyAction
2020-03-24 07:23:31 +01:00
Atgeirr Flø Rasmussen
0b0fab781b
Add missing header inclusion.
2020-03-23 17:49:43 +01:00
Arne Morten Kvarving
e3bd1e6723
add static method to return a test object for serialization
...
this allows killing the constructors taking member values
2020-03-23 10:58:15 +01:00
Bård Skaflestad
8d2cc14ad0
Active Well Control Output: Place Duplicate Implementation in Well
...
Will become shared backend for output to restart and summary files.
Add unit tests to exercise the new functions.
2020-03-20 22:07:04 +01:00
Joakim Hove
4e2dae298f
Merge pull request #1593 from joakim-hove/internalize-pyaction
...
Internalize pyaction
2020-03-20 18:38:29 +01:00
Joakim Hove
81b70de140
Add serializer support for PyAction
2020-03-20 17:15:53 +01:00
Joakim Hove
d2af97b1b2
Internalize PYACTION keywords while parsing Schedule
2020-03-20 16:59:50 +01:00
Joakim Hove
9632eae663
Add PyAction container to Actions class
2020-03-20 16:59:50 +01:00
Joakim Hove
d06a5a78e0
Moved PyAction class into Action:: namespace
2020-03-20 16:59:50 +01:00
Joakim Hove
7852203d39
PYACTION: The actual python code is in an external file
...
With this commit the PYACTION keyword is changed, instead of embedding the
Python code directly in the .DATA file the keyword now points to an external
file which is loaded verbatim into the PyAction keyword.
In addition the PYACTION keyword has now got a name and a string indicating how
many times it should run.
2020-03-20 16:59:50 +01:00
Williham Williham Totland
6970158f7f
Makes the return value of Opm::Group::flow_group/::control_group optional.
2020-03-20 14:08:03 +01:00
Arne Morten Kvarving
f0a25e4cf3
fixed: make a two-param map template for splitDynMap
...
gcc is more forgiving with default template parameters than clang.
2020-03-20 12:42:30 +01:00
Joakim Hove
f87369713b
Add global_index to Connections
2020-03-19 22:14:06 +01:00
Arne Morten Kvarving
524b180102
update UDQConfig serialization
...
to avoid the need for OPM defined types in underlying
serializer
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
66a4d1119d
add serialization template to VFPProdTable
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
4d7d3b0e7c
add serialization template to VFPInjTable
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
e4e853065c
remove accessors in Group added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
5304b0ce2b
add serialization template to Group
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
21e5d975e8
add serialization template to GroupProductionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a87ec3ad46
add serialization template to GroupInjectionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
6100e1f572
remove accessors in Well added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
91bd6edd87
add serialization template to Well
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
0a4bb79b4a
changed: use shared_ptr to mutable references
...
const refs are incompatible with serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
0a45fd4da6
add serialization template to WellType
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
2a3b3e3e73
remove accessors in WellSegments added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
815526a4a8
add serialization template to WellSegments
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
7c298d0891
remove accessors in Segment added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
117682d211
add serialization template to Segment
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a6f546a87a
add serialization template to Valve
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
335eb8c5e1
add serialization template to SpiralICD
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
dcbde5ea53
add serialization template to WellInjectionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
b045048e73
remove accessors in WellProductionProperties added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9fb608fd0d
add serialization template to WellProductionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
6079e1d261
remove accessors in WellConnections added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
39034dabe4
add serialization template to WellConnections
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
b9e745f3e5
add serialization template to Connection
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
689420f85a
remove accessors in WellTracerProperties added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
f271d75063
add serialization template to WellTracerProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a6053d7817
add serialization template to WellBrineProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9c1c9f9e29
add serialization template to WellPolymerProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
4d0672d31a
add serialization template to WellFoamProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
7e817e7d26
add serialization template to WellEconProductionLimits
2020-03-19 09:34:12 +01:00