Håkon Hægland
c6129ad9a4
Renamed function in ecfvstencil.hh
...
Use the new name of the dirId() function in ecfvstencil.hh
2022-09-16 09:10:42 +02:00
Håkon Hægland
cbdec23e50
Also check for unknown face direction
...
To avoid compiler warnings, we also need to check for the unknown face
direction due to change in the FaceDir::DirEnum values in opm-common.
2022-09-16 09:07:25 +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
Håkon Hægland
9ed974fda3
Minor simplification
...
Simplify code using the unknown facedir value.
2022-09-14 23:54:43 +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
Håkon Hægland
7d0265dd44
Limit access to face direction.
...
Only access the grid face direction information if directional relperms
have been enabled.
2022-09-14 15:34:41 +02:00
Håkon Hægland
8b1bcb36bc
Adds support for KRNUM
2022-09-14 15:34:41 +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
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
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
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
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
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
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
Arne Morten Kvarving
58b0121e9b
fixed: forward structs as struct
2022-09-09 08:37:59 +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
Kai Bao
087eb56a64
changing max_strict_iter_ to min_strict_cnv_iter_
...
to make the naming reflect the actual usage more clearly.
2022-09-07 14:28:41 +02:00
Arne Morten Kvarving
e678146831
changed: use EclMpiSerializer in eclwriter
2022-09-06 15:36:58 +02:00
Arne Morten Kvarving
ee0d482b32
added: eclmpiserializer::append
...
this broadcasts from the root rank, and then appends
the results to existing data on the others
2022-09-06 15:36:30 +02:00
Arne Morten Kvarving
2d2f25b778
added: map predicate
...
use it to allow for serializing nested maps
2022-09-06 10:32:48 +02:00
Paul Egberts
1c70b5beea
Equilibration with water-gas ratio vs depth (RVWVD) table
2022-09-05 09:59:16 +02:00
Bård Skaflestad
b3e517a8ef
Merge pull request #4055 from akva2/eclmpiserializer_map
...
eclmpiserializer: improve map handler
2022-09-02 21:01:47 +02:00
Arne Morten Kvarving
ade4cf978e
eclmpiserializer: improve map handler
...
use has_serializeOp trait
2022-09-02 17:20:46 +02:00
Arne Morten Kvarving
2dd6433f16
eclmpiserializer: improve set handler
...
use has_serializeOp trait
2022-09-02 17:18:03 +02:00
Bård Skaflestad
a372a4d09e
Merge pull request #4052 from akva2/eclmpiserializer_vector
...
eclmpiserializer: improve vector handler
2022-09-02 17:10:10 +02:00
Bård Skaflestad
e3bc041909
Merge pull request #4051 from akva2/eclmpiserializer_array
...
eclmpiserializer: improve array handler
2022-09-02 17:09:41 +02:00
Arne Morten Kvarving
e2eac12593
eclmpiserializer: improve vector handler
...
use has_serializeOp trait
2022-09-02 14:36:42 +02:00
Bård Skaflestad
dff553db59
Merge pull request #4050 from akva2/eclmpiserializer_ptr
...
eclmpiserializer: improve ptr handler
2022-09-02 14:30:33 +02:00
Arne Morten Kvarving
3ed2a25470
eclmpiserializer: improve array handler
...
use has_serializeOp trait
2022-09-02 14:12:09 +02:00
Arne Morten Kvarving
9be60f2b3f
eclmpiserializer: improve ptr handler
...
use has_serializeOp trait
2022-09-02 14:08:29 +02:00
Arne Morten Kvarving
a9eb6159ae
eclmpiserializer: improve pair handling
...
use has_serializeOp trait
2022-09-02 13:54:39 +02:00
Bård Skaflestad
1a4313c73c
Direct All Non-Triggered Action Messages to Debug File
...
End users typically do not care that a particular action did NOT
trigger at a particular time and these messages will typically
reduce the utility of the CASE.PRT file. On important field cases
we've seen more than 100,000 such messages in a single run which is
quite overwhelming.
Since we're now directing the messages to the .DBG file instead
we're not taking away any diagnostic ability, merely altering the
location of the information.
2022-09-01 17:11:36 +02:00
Arne Morten Kvarving
8bd2af1517
added: generalize variant serialization handling
2022-09-01 13:24:17 +02:00
Arne Morten Kvarving
2c0ff6f81e
consistently use ParallelCommunication.hpp for communication definition
2022-09-01 12:26:11 +02:00
Bård Skaflestad
5989604dfb
Format Action Dates With Libfmt
...
Use libfmt's ability for format 'std::tm' objects to output
unambiguous dates. While here, also apply 'const' to a number of
objects and scalar parameters.
Original output:
The action ACT-01 evaluated to true at 2018/11/02 report:0.
New output:
Action ACT-01 triggered at 02-Nov-2018 00:00:00 (report interval 0 to 1).
2022-08-26 11:04:55 +02:00
Arne Morten Kvarving
a9590215dc
changed: consistently use std::array
2022-08-26 08:28:46 +02:00
Tor Harald Sandve
eb25ce1b99
clean-up comments and code
2022-08-18 08:27:38 +02:00