Bård Skaflestad
d5401eeb43
Merge pull request #4044 from atgeirr/fix-restart-initialization
...
Ensure intensive quantities are calculated at start of simulation.
2022-09-01 17:10:32 +02:00
Bård Skaflestad
93b059eca1
Merge pull request #4046 from akva2/mswellhelper_priv
...
make MSWellHelpers templates private
2022-09-01 16:44:15 +02:00
Bård Skaflestad
d1ba2ce5bc
Merge pull request #4045 from akva2/wellgrouphelper_priv
...
Make one more template private in WellGroupHelper
2022-09-01 16:33:43 +02:00
Bård Skaflestad
c3e5322527
Merge pull request #4043 from akva2/wellhelpers_priv
...
Make WellHelpers templates private
2022-09-01 16:27:59 +02:00
Bård Skaflestad
30cbd28eeb
Merge pull request #4041 from akva2/generalize_variant_serialize
...
added: generalize variant serialization handling
2022-09-01 16:03:16 +02:00
Arne Morten Kvarving
5052a09d6e
make MSWellHelpers templates private
2022-09-01 15:17:04 +02:00
Arne Morten Kvarving
5d9ee32853
WellGroupHelpers: simply template instantation
...
use types for ParallelCommunication.hpp
2022-09-01 14:55:19 +02:00
Arne Morten Kvarving
2135a4268d
WellGroupHelpers: make template private
2022-09-01 14:55:19 +02:00
Atgeirr Flø Rasmussen
92538b0612
Ensure intensive quantities are calculated at start of simulation.
...
Moving it ensures it is also done for restart simulation runs. Without
this, the well model will actually initialize the IQs, but only for
owned cells, not overlap/ghost cells, which caused parallel failure.
2022-09-01 14:00:42 +02:00
Arne Morten Kvarving
5824af3f1b
use libfmt
...
also change from debug to error
2022-09-01 13:54:40 +02:00
Arne Morten Kvarving
6bd790fd16
avoid pointer semantics
2022-09-01 13:48:01 +02:00
Arne Morten Kvarving
a6517d6111
remove unused template
2022-09-01 13:37:54 +02:00
Arne Morten Kvarving
18d8914ef1
wellhelpers: remove indentation for namespaces
2022-09-01 13:37:11 +02:00
Arne Morten Kvarving
69db0dd175
wellhelpers: make templates private
...
to increase header encapsulation
2022-09-01 13:37:11 +02:00
Arne Morten Kvarving
8bd2af1517
added: generalize variant serialization handling
2022-09-01 13:24:17 +02:00
Bård Skaflestad
9611edfee4
Merge pull request #4040 from akva2/use_par_def
...
consistently use ParallelCommunication.hpp for communication definition
2022-09-01 13:16:59 +02:00
Arne Morten Kvarving
2c0ff6f81e
consistently use ParallelCommunication.hpp for communication definition
2022-09-01 12:26:11 +02:00
Bård Skaflestad
a322a3062f
Merge pull request #4039 from akva2/small_comm_reduce
...
avoid two communication calls
2022-08-31 14:35:36 +02:00
Arne Morten Kvarving
004e7e55fb
avoid two communication calls
...
one less network latency cost
2022-08-31 12:54:47 +02:00
Markus Blatt
c58a30068e
Merge pull request #4027 from aritorto/lambda
...
Code modernization
2022-08-26 12:19:47 +02:00
Bård Skaflestad
8b65d6e6ec
Merge pull request #4003 from bska/fmt-action-date
...
Format Action Dates With Libfmt
2022-08-26 11:41:17 +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
Bård Skaflestad
949bb6ecb5
Merge pull request #4031 from akva2/use_std_array
...
changed: consistently use std::array
2022-08-26 10:14:17 +02:00
Bård Skaflestad
17ef437993
Merge pull request #4032 from akva2/remove_param_group
...
changed: remove unneeded includes for ParameterGroup
2022-08-26 09:55:55 +02:00
Bård Skaflestad
42a2b36687
Merge pull request #4030 from akva2/avoid_poly_includes
...
changed: no need to pull in polyhedralgrid if it is not used
2022-08-26 09:33:19 +02:00
Arne Morten Kvarving
3b0b5b4708
changed: remove unneeded includes for ParameterGroup
2022-08-26 09:21:46 +02:00
Antonella Ritorto
57183081c8
Code modernization
...
Change from Functor class to functions.
2022-08-26 08:54:48 +02:00
Arne Morten Kvarving
a9590215dc
changed: consistently use std::array
2022-08-26 08:28:46 +02:00
Arne Morten Kvarving
71ca7a0c40
changed: no need to pull in polyhedralgrid if it is not used
2022-08-26 08:25:05 +02:00
Atgeirr Flø Rasmussen
432df26ecc
Merge pull request #4025 from bska/remove-dune-unused
...
Prefer Attributes to Macros
2022-08-25 08:29:33 +02:00
Bård Skaflestad
489e4b3886
Merge pull request #4026 from OPM/revert-4022-reduce_dup
...
Revert "changed: reduce some code duplication"
2022-08-24 20:35:18 +02:00
Bård Skaflestad
a56cd6752c
Revert "changed: reduce some code duplication"
2022-08-24 20:34:52 +02:00
Bård Skaflestad
f3fc5331f0
Prefer Attributes to Macros
2022-08-24 17:05:55 +02:00
Bård Skaflestad
e66c7f6444
Merge pull request #4022 from akva2/reduce_dup
...
changed: reduce some code duplication
2022-08-24 16:53:16 +02:00
Bård Skaflestad
fe04df94e6
Merge pull request #4023 from atgeirr/fix-packing
...
Add packing support for classes needing it.
2022-08-24 16:44:06 +02:00
Atgeirr Flø Rasmussen
c0e5996b70
Merge pull request #4024 from atgeirr/silence-override-warning
...
Add override qualifier to silence warning.
2022-08-24 16:07:04 +02:00
Arne Morten Kvarving
447d77b579
changed: get rid of duplicate MatrixBlock headers/classes
...
this has already led to some confusion. move some of the code
upstream to opm-models and remove the rest of the duplicated code.
the remainder of MatrixBlock.hpp is renamed to SmallDenseMatrixUtils.hpp
2022-08-24 15:54:01 +02:00
Atgeirr Flø Rasmussen
6cf02813e5
Add override qualifier to silence warning.
2022-08-24 15:36:56 +02:00
Atgeirr Flø Rasmussen
51e5459be5
Add packing support for classes needing it.
...
Since Rates is not longer a POD, it needs explicit
packSize()/pack()/unpack() support. This also applies
to classes containing Rates, namely Connection and Segment.
Similarly, SegmentPressures is not a POD.
2022-08-24 15:11:27 +02:00
Bård Skaflestad
6d3d64a843
Merge pull request #4015 from GitPaean/handling_numerical_aquifer_no_connection
...
ignoring analytical aquifers without valid connections
2022-08-24 09:59:26 +02:00
Bård Skaflestad
1d54d554ec
Merge pull request #4002 from goncalvesmachadoc/testSalt
...
add Test Case for Salt Precipitation
2022-08-24 00:12:18 +02:00
Kai Bao
c25e1392ba
ignoring analytical aquifers without valid connections
2022-08-23 15:50:50 +02:00
Arne Morten Kvarving
3faccb4a17
changed: reduce some code duplication
2022-08-23 09:31:27 +02:00
Markus Blatt
32ea42006c
Merge pull request #4019 from akva2/paroverlap_separate_unit
...
put ParallelOverlappingILU0 in separate compile unit
2022-08-22 12:06:26 +02:00
Arne Morten Kvarving
3ef07d7f62
changed: put ParallelOverlappingILU0 in separate compile unit
...
i chose to split in a separate _impl file because this code is so
generic that there may be downstream users who want to use on other
matrix types than what we use in opm-simulators.
2022-08-22 11:21:31 +02:00
Markus Blatt
c631a4ee63
Merge pull request #4018 from akva2/preconditionerfactory_separate
...
changed: split PreconditionerFactory in _impl file
2022-08-22 10:16:45 +02:00
Arne Morten Kvarving
ec089af048
changed: split PreconditionerFactory in _impl file
...
and put instances in separate cpp files.
2022-08-22 09:33:15 +02:00
Atgeirr Flø Rasmussen
04fe35a82e
Merge pull request #4013 from GitPaean/num_aquifer_construct_simpli
...
simplifying the constructor for AquiferNumerical
2022-08-22 08:20:34 +02:00
Bård Skaflestad
3a33257f21
Merge pull request #4016 from blattms/revert-pistl-split
...
Revert: Split PreconditionerFactory in _impl file
2022-08-19 15:06:23 +02:00
Markus Blatt
e7cc14de4c
Revert: Split PreconditionerFactory in _impl file
...
This reverts commit 7f8c88769e
.
Apparently the macros unconditionally use Classes that are only
there for parallel builds.
2022-08-19 14:42:55 +02:00