Arne Morten Kvarving
ea8f64cb87
data::GroupGuideRates: add serializer support
2022-09-05 12:17:50 +02:00
Bård Skaflestad
524752da63
Merge pull request #3130 from akva2/segmentpressures_serialize
...
data::SegmentPressures: add serializer support
2022-09-05 12:15:07 +02:00
Bård Skaflestad
6ac5c8127d
Merge pull request #3128 from akva2/rates_serialize
...
data::Rates: add serializer support
2022-09-05 12:14:33 +02:00
Bård Skaflestad
848942317e
Merge pull request #3127 from akva2/solution_serialize
...
data::Solution: add serializer support
2022-09-05 12:14:05 +02:00
Bård Skaflestad
87a736ef84
Merge pull request #3121 from akva2/guideratevalue_serialize
...
data::GuideRateValue: add serializer support
2022-09-05 12:13:34 +02:00
Bård Skaflestad
4faa9634a0
Merge pull request #3126 from akva2/restartkey_serialize
...
RestartKey: add serializer support
2022-09-05 11:11:35 +02:00
Arne Morten Kvarving
efe759676b
data::SegmentPressures: add serializer support
2022-09-05 11:09:25 +02:00
Arne Morten Kvarving
e3a961df2b
data::Rates: add serializer support
2022-09-05 10:35:51 +02:00
Arne Morten Kvarving
3abfddd088
data::Solution: add serializer support
2022-09-05 10:27:08 +02:00
Arne Morten Kvarving
7670a0c248
RestartKey: add serializer support
2022-09-05 10:19:26 +02:00
Arne Morten Kvarving
c95cae5c63
data::NodeData: add serializer support
2022-09-05 09:57:58 +02:00
Arne Morten Kvarving
883e701a13
data::GuideRateValue: add serializer support
2022-09-05 09:15:20 +02:00
Bård Skaflestad
2a4f62844d
Merge pull request #3120 from akva2/serialize_groupconstraints
...
data::GroupConstraints: add serializer support
2022-09-02 21:44:08 +02:00
Bård Skaflestad
7f50f7e95d
Merge pull request #3118 from akva2/serialize_map_change
...
adjust for map serializer API change
2022-09-02 20:59:07 +02:00
Bård Skaflestad
3dcc3e35b9
Merge pull request #3117 from akva2/serialize_set_change
...
adjust for set serializer API change
2022-09-02 20:57:36 +02:00
Arne Morten Kvarving
d5830c0aa0
data::GroupConstraints: add serializer support
2022-09-02 18:12:09 +02:00
Bård Skaflestad
3c48148d8b
Merge pull request #3119 from akva2/celldata_serialize
...
data::CellData: add serializer support
2022-09-02 17:24:36 +02:00
Arne Morten Kvarving
d09c275fe4
adjust for map serializer API change
2022-09-02 17:20:14 +02:00
Arne Morten Kvarving
99ea0ee497
adjust for set serializer API change
2022-09-02 17:17:11 +02:00
Bård Skaflestad
e9e70c6eac
Merge pull request #3116 from akva2/serialize_vector_change
...
adjust for vector serializer API change
2022-09-02 17:08:14 +02:00
Arne Morten Kvarving
a21680cc96
data::CellData: add serializer support
2022-09-02 15:52:11 +02:00
Arne Morten Kvarving
0de1c488d2
adjust for vector serializer API change
2022-09-02 14:39:16 +02:00
Arne Morten Kvarving
fd3f444c80
adjust for array serializer API change
2022-09-02 14:18:15 +02:00
Arne Morten Kvarving
a3a9413ab0
fixed: initialize dimensions in serializeObject
...
the array is left uninitialized by the constructor
2022-09-01 12:21:58 +02:00
Bård Skaflestad
9658257960
Serialize Exit Status
...
While here, also add missing serialization tests for WGNames and
CompletedCells.
2022-08-25 11:22:59 +02:00
Bård Skaflestad
7ee1fd9ed1
Match Member Order in Schedule Serialization
...
In particular, in Schedule::seralizeOp(), Schedule::operator==(),
and Schedule::serializeObject().
2022-08-25 11:20:51 +02:00
Bård Skaflestad
da6802e787
Prefer Template Argument Deduction
...
Don't pass 'Serializer' as an explicit template argument.
2022-08-25 11:14:37 +02:00
Atgeirr Flø Rasmussen
ba120652b5
Merge pull request #3104 from atgeirr/fix-packing
...
Prepare for fixing packing of Rates, fix bug in Connection comparison operator
2022-08-24 15:23:44 +02:00
Atgeirr Flø Rasmussen
2f7f360563
Bugfix: compare trans_factor in Connection::operator==().
2022-08-24 14:50:39 +02:00
Atgeirr Flø Rasmussen
8754a59d38
Add friend declarations to enable writing out of class packing functions.
2022-08-24 14:50:39 +02:00
Kai Bao
61e68dccb6
fixing running when only analytical aquifer connections defined
...
without this, the restart writer will trigger a segmentation fault
error.
And also, some minor refactoring and function development so that the
simulator can check whether there are valid connections defined for
aquifers with certain id.
2022-08-24 09:31:20 +02:00
Atgeirr Flø Rasmussen
49262ae96d
Add and use portable_timegm().
...
This function converts a std::tm to a std::time_t, assuming UTC
and not local timezone. This is used instead of relying on
repeated calls to mktime(), which can fail on some system (BSD)
for dates before 1900.
2022-08-18 09:21:52 +02:00
Arne Morten Kvarving
5df933460b
changed: remove (basically) empty Well(Injection|Production)Properties.hpp
2022-08-11 11:47:54 +02:00
Tor Harald Sandve
189a043c6d
add unit gas oil ratio rate for output of drsdt
2022-08-10 15:42:50 +02:00
Atgeirr Flø Rasmussen
f96290e1df
Add <cstddef> include for std::size_t.
2022-07-31 21:24:30 +02:00
Bård Skaflestad
9af8c785b2
Merge pull request #3085 from akva2/cleanup_schedule
...
Cleanup Schedule.hpp usage
2022-07-30 00:42:06 +02:00
Arne Morten Kvarving
e82ec7a274
clean up includes in Schedule.hpp
2022-07-29 18:37:57 +02:00
Markus Blatt
6561138236
Merge pull request #3067 from GitPaean/fixing_multiple_wpimult
...
fixing multiple WPIMULT records
2022-07-29 10:24:50 +02:00
Arne Morten Kvarving
1012e15711
remove unused file
2022-07-27 17:51:17 +02:00
Arne Morten Kvarving
ec57a4d10b
changed: remove include of Schedule.hpp in header
...
and deal with the consequences
2022-07-27 17:13:45 +02:00
Markus Blatt
92ebef3bc9
Merge pull request #3084 from akva2/cleanup_stream_includes
...
clean up stream includes
2022-07-27 17:08:28 +02:00
Markus Blatt
5532176af4
Merge pull request #3083 from akva2/cleanup_deck
...
changed: remove include of Deck.hpp in header
2022-07-27 17:06:26 +02:00
Arne Morten Kvarving
068bff1ebc
clean up stream includes
2022-07-27 16:05:01 +02:00
Arne Morten Kvarving
5e7191c79e
changed: remove include of Deck.hpp in header
...
and deal with the consequences
2022-07-26 18:42:39 +02:00
Arne Morten Kvarving
ef6d448077
changed: remove include of EclipseState.hpp in header
...
and deal with the consequences
2022-07-26 16:03:52 +02:00
Kai Bao
96ab0e036d
addressing some reviewing comments for PR#3067
2022-07-06 14:32:59 +02:00
Bård Skaflestad
a79ee15082
Decouple Opm::Box From EclipseGrid
...
This commit switches to constructing Box instances from a GridDims
and two call-back functions instead of taking an EclipseGrid
directly. The two call-back functions are a predicate for active
cells and a translation from Cartesian to active cell indices
respectively.
This is intended to simplify working with nested boxes, such as
those that occur for local grid refinement.
2022-07-05 14:27:49 +02:00
Kai Bao
b87867d144
multple MPIMULT keywords within one report step is handled
...
and ScheduleTests is updated with tests
2022-07-05 10:52:25 +02:00
Bård Skaflestad
5377ff3442
Streamline GridDims::getIJK()
...
This commit switches the Cartesian -> IJK decomposition in GridDims
from K->J->I into the I->J->K order. The latter is simpler.
While here, also consistently use 'std::size_t' instead of 'size_t'.
2022-07-04 15:06:07 +02:00
Bård Skaflestad
c740b3705d
Handle Active Cell/Numerical Aquifers In Constructor Body
...
The constructor did implicitly assume that no cell in a numerical
aquifer would be declared inactive in ACTNUM, and this restriction
still applies. Moving numerical aquifer property and connection
processing into the constructor body enables using existing member
functions for non-neighbouring connections and removes a branch that
obscured the fact that we should have ACTNUM be as close to
finalised as possible before creating analytic aquifer connections.
2022-07-04 14:08:11 +02:00