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
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
fdb2743ca9
changed: handle tuples in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 15:54:37 +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
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
dfa870c313
changed: handle all sets in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 12:39:07 +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
603e44068c
changed: handle all maps in eclmpiserializer
...
thus we can remove support in MPIPacker
2022-09-13 11:32:37 +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
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
Arne Morten Kvarving
1838b39d2e
changed: split ParallelRestart.hpp/cpp in two bits
...
the mpi serialization bit is put in MPISerializer.hpp/cpp,
while the parallel restart bit stays in ParallelRestart
2022-09-08 13:36:51 +02:00