Arne Morten Kvarving
4f9f0f921f
changed: use Serializer from opm-common
2022-09-16 13:12:11 +02:00
Arne Morten Kvarving
7362386d3d
changed: split out serialization in separate class
...
make it a template over a packer.
make EclMpiSerializer an instance of this template with
a MPI based packer, and move broadcasting functionality
to the new class
2022-09-16 13:11:45 +02:00
Bård Skaflestad
304788dbe8
Merge pull request #4108 from akva2/serializer_simplify
...
Simplifications in serializer
2022-09-16 13:09:12 +02:00
Arne Morten Kvarving
975e096d4c
changed: make container handlers in eclmpiserializer protected
...
users only use operator()
2022-09-16 11:59:40 +02:00
Arne Morten Kvarving
62f22062dd
eclmpiserializer: consistently make immutable access the exception
...
by nature of the operation, the data should be immutable on sender and
mutable on receiver. this way we atleast keep data immutable where we can,
and immutable access is explicitly marked by casts.
2022-09-16 11:57:23 +02:00
Arne Morten Kvarving
d31620b38b
eclmpiserializer: simplify handling
...
everything can now be done through operator()
2022-09-16 11:57:23 +02:00
Markus Blatt
42ef6ed9de
Merge pull request #4107 from akva2/mpipacker_refactor
...
Refactor MPIPacker
2022-09-15 20:25:34 +02:00
Arne Morten Kvarving
9cbb0aa05e
added: pack array/vector of pod in one op
2022-09-15 14:04:41 +02:00
Arne Morten Kvarving
b1092c1a12
changed: refactor MPIPacker
...
to limit the overload party, we put packing details for
specific types in separate structs.
emit compiler error if unsupported type is given,
better to detect this on compile time rather than runtime
2022-09-15 14:04:41 +02:00
Arne Morten Kvarving
3a19ab31bd
Merge pull request #4106 from akva2/serializer_handle_tuples
...
changed: handle tuples in eclmpiserializer
2022-09-15 12:59:13 +02:00
Arne Morten Kvarving
3c389d5ece
changed: handle pairs as tuples in eclmpiserializer
2022-09-15 11:19:04 +02:00
Tor Harald Sandve
fe19d94b4e
Merge pull request #4110 from GitPaean/avoiding_overshoot_primary_variables
...
avoiding wrong sign for QTotal primary variable for top segment
2022-09-15 08:13:03 +02:00
Bård Skaflestad
ec731fd523
Merge pull request #4112 from akva2/fix_regression_variadic_bcast
...
fixed: wrong root rank in variadic broadcast
2022-09-14 21:09:30 +02:00
Arne Morten Kvarving
5c78925981
fixed: wrong root rank in variadic broadcast
...
change the test to broadcast from rank 1 instead of 0
so this bug does not resurface
2022-09-14 19:38:24 +02:00
Bård Skaflestad
67ec01a730
Merge pull request #4034 from plgbrts/equil2
...
Equilibration with water-gas ratio vs depth (RVWVD) table
2022-09-14 14:30:04 +02:00
Kai Bao
2f19d4586e
avoiding wrong sign for QTotal primary variable for top segment
...
for multisegment wells.
2022-09-14 14:21:03 +02:00
Paul Egberts
7ca6e2a25e
Update equilibrationhelpers.hh
...
removed obsolete comment
2022-09-14 14:11:19 +02:00
Paul Egberts
29dec2686a
Update initstateequil.hh
...
removed obsolete comment
2022-09-14 14:08:40 +02:00
Atgeirr Flø Rasmussen
f3b536889d
Merge pull request #4097 from totto82/cleanDBG
...
remove computeBhpAtThpLimitProd() output from .DBG file
2022-09-14 10:11:50 +02:00
Paul Egberts
d01e5e330f
fix equil test
2022-09-14 09:58:50 +02:00
Paul Egberts
c2cac1b183
added equilibration option for water in gas
2022-09-13 18:02:33 +02:00
Arne Morten Kvarving
fdb2743ca9
changed: handle tuples in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 15:54:37 +02:00
Markus Blatt
e7d186b416
Merge pull request #4104 from akva2/serializer_handle_pairs
...
changed: handle all pairs in eclmpiserializer
2022-09-13 15:52:09 +02:00
Arne Morten Kvarving
03dc37d7af
Merge pull request #4105 from akva2/fix_serial_build
...
fix build without MPI
2022-09-13 15:51:55 +02:00
Arne Morten Kvarving
57f2bb3ea7
fix build without MPI
2022-09-13 15:07:15 +02:00
Arne Morten Kvarving
f0bc0f42c6
changed: handle all pairs in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 14:44:52 +02:00
Arne Morten Kvarving
993f1eacb5
Merge pull request #4103 from akva2/serializer_handle_vectors
...
mpiserializer: handle all vectors
2022-09-13 14:44:08 +02:00
Arne Morten Kvarving
924ba450d2
fixed: remove_cvr_t should also remove volatile
2022-09-13 13:42:13 +02:00
Arne Morten Kvarving
f159eb524b
changed: handle all vectors in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 13:29:47 +02:00
Arne Morten Kvarving
6e83e349d6
changed: move variadic broadcast into EclMpiSerializer
2022-09-13 13:29:47 +02:00
Arne Morten Kvarving
9e6574115a
EclMpiSerializer: add handler for vector<bool>
2022-09-13 13:29:47 +02:00
Arne Morten Kvarving
ebdfb0fc6a
EclMpiSerializer: allow specifying root rank in broadcast/append
2022-09-13 13:29:47 +02:00
Arne Morten Kvarving
75dbf60f7a
Merge pull request #4093 from akva2/serializer_handle_sets
...
changed: handle all sets in eclmpiserializer
2022-09-13 13:05:21 +02:00
Bård Skaflestad
7e44ddd2bd
Merge pull request #4100 from totto82/wvfpexp_user
...
remove WVFPEXP from unsupported keywords
2022-09-13 12:46:58 +02:00
Arne Morten Kvarving
dfa870c313
changed: handle all sets in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 12:39:07 +02:00
Bård Skaflestad
3fc8433cc8
Merge pull request #4092 from akva2/serializer_handle_arrays
...
changed: handle all arrays in eclmpiserializer
2022-09-13 12:38:36 +02:00
Tor Harald Sandve
f8d1d040ab
Merge pull request #4033 from totto82/fix_grsw_output
...
cleanup group switching output to terminal
2022-09-13 12:25:40 +02:00
Arne Morten Kvarving
4cd9272a76
changed: handle all arrays in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 12:08:39 +02:00
Arne Morten Kvarving
3164fa6154
Merge pull request #4090 from akva2/serializer_handle_maps
...
Handle all maps in serializer
2022-09-13 12:08:00 +02:00
Arne Morten Kvarving
603e44068c
changed: handle all maps in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 11:32:37 +02:00
Bård Skaflestad
0e49eb3a52
Merge pull request #4089 from akva2/serializer_handle_optional
...
Optionals are handled in serializer
2022-09-13 11:30:44 +02:00
Arne Morten Kvarving
c6beb479d3
changed: remove optional support in MPIPacker
...
handled by the serializer
2022-09-13 10:49:54 +02:00
Arne Morten Kvarving
053dfc7ce5
eclmpiserializer: fix is_vector predicate
...
allow custom allocator
2022-09-13 10:49:54 +02:00
Bård Skaflestad
56c653235f
Merge pull request #4087 from akva2/rename_serialization
...
Rename serialization files
2022-09-13 10:48:33 +02:00
Arne Morten Kvarving
4a81e5c92d
fixed: remove forwarding in variadic functions
...
these are l-values so the forward call is a noop. if they
would be pr or x-values, forwarding multiple times is not
correct.
2022-09-13 10:16:55 +02:00
Tor Harald Sandve
683ed0df1f
remove WVFPEXP from unsupported keywords
2022-09-13 09:30:04 +02:00
Tor Harald Sandve
7571215f44
some cleanup
2022-09-13 08:33:51 +02:00
Markus Blatt
6ef3a28472
Merge pull request #4020 from akva2/istlsolverebos_separate
...
put parts of ISTLSolverEbos in separate compile unit
2022-09-12 20:24:21 +02:00
Paul Egberts
a8aa12f0a2
added evaporated water dependency of gas density in equil calculations
2022-09-12 16:02:35 +02:00
Arne Morten Kvarving
8e2b385f4d
changed: put parts of ISTLSolverEbos in separate compile unit
...
in particular this means simulator objects are now not dependent
on FlexibleSolver.hpp and BdaBridge.hpp
2022-09-12 12:44:56 +02:00