Commit Graph

14430 Commits

Author SHA1 Message Date
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
Markus Blatt
2c26249bb6
Merge pull request #4011 from akva2/preconditionerfactory_separate
changed: split PreconditionerFactory in _impl file
2022-08-19 13:46:19 +02:00
Arne Morten Kvarving
7f8c88769e changed: split PreconditionerFactory in _impl file
and put instances in separate cpp files.
2022-08-19 12:43:28 +02:00
Arne Morten Kvarving
b3a9253de1
Merge pull request #4014 from bska/restore-sequential-build
Restore Non-MPI Builds
2022-08-18 17:37:02 +02:00
Bård Skaflestad
b87154223b Restore Non-MPI Builds
Commit 371b2592f misordered the closing brace of a namespace and
the conditional declarations dependent upon MPI availability.  This
commit restores the expected order and fixes non-MPI builds.
2022-08-18 16:08:41 +02:00
Kai Bao
d69c80b84a simplifying the constructor for AquiferNumerical
removing the unused global_cell and avoid the unnecessary construction of cartesianToCompressed
2022-08-18 15:55:04 +02:00
Markus Blatt
f3c82fb123
Merge pull request #4010 from akva2/separate_parallelistlinfo
changed: put ParallelIstlInformation in separate compile unit
2022-08-18 11:45:46 +02:00
Markus Blatt
3068424382
Merge pull request #3968 from totto82/drift_fix
Adapt drift compensation code to the way Flow checks convergence.
2022-08-18 11:39:25 +02:00
Arne Morten Kvarving
371b2592f5 changed: put ParallelIstlInformation in separate compile unit 2022-08-18 09:15:28 +02:00
Tor Harald Sandve
eb25ce1b99 clean-up comments and code 2022-08-18 08:27:38 +02:00
Cintia Goncalves Machado
c4e262b748
deleta .data 2022-08-17 15:51:08 +02:00
Atgeirr Flø Rasmussen
6afb386070
Merge pull request #4009 from atgeirr/fix-cartesian-mapping
Bugfix and simplification of cartesian mapping.
2022-08-17 14:50:21 +02:00
Atgeirr Flø Rasmussen
c94ff12e4c Bugfix and simplification of cartesian mapping.
We already have the mapping available, and using the equilGrid() is only valid
on rank 0.
2022-08-17 14:13:13 +02:00
Tor Harald Sandve
262aead46c fix issue with summing over ghost cells twice 2022-08-17 10:27:39 +02:00
Tor Harald Sandve
ceac9e5ad8 disable drift compensation for cases without source terms 2022-08-17 10:21:25 +02:00
Tor Harald Sandve
b3f62589f2 tune restart test to make it pass 2022-08-17 10:21:25 +02:00
Tor Harald Sandve
1f54e90f33 Restrict drift compensation by CNV tolerance 2022-08-17 10:21:25 +02:00
Bård Skaflestad
1ca731a388
Merge pull request #4007 from atgeirr/limit-terminal-warnings-during-deck-input
Limit warnings to terminal during deck input.
2022-08-16 18:20:05 +02:00
Markus Blatt
acff71c3d1
Merge pull request #4006 from akva2/milu_refactor
changed: put MILU in separate compile unit
2022-08-16 15:31:23 +02:00
Markus Blatt
7a0a4c647c
Merge pull request #4005 from akva2/use_std_array
changed: consistently use std::array
2022-08-16 15:08:39 +02:00
Atgeirr Flø Rasmussen
04180031e1 Limit warnings to terminal during deck input.
With this, the tag limit of 10 is used from the very start of the run,
and not only after the deck has been read.
2022-08-16 14:43:07 +02:00
Arne Morten Kvarving
a32a32649d changed: put MILU in separate compile unit 2022-08-16 10:46:20 +02:00
Arne Morten Kvarving
6ed8a38ba5 changed: consistently use std::array 2022-08-16 08:38:54 +02:00
goncalvesmachadoc
23bc8f4cde addTestCaseSalt 2022-08-15 16:46:52 +02:00
Bård Skaflestad
874e4f818c
Merge pull request #4000 from akva2/action_handler_refactor2
Move action handling from eclproblem to separate class
2022-08-15 14:02:39 +02:00
Arne Morten Kvarving
8cc0aa24de changed: switch to using libfmt 2022-08-15 13:48:19 +02:00
Arne Morten Kvarving
a3e46876fb minor cosmetics 2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
99090ebf72 remove unused method
this was previously used by the ebos simulators
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
c405d718b1 changed: move action update handling to separate class
clearer interface boundaries plus it allows to build code only once
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
465623ce9f
Merge pull request #3999 from atgeirr/fix-missing-angle-bracket
Fix missing angle bracket.
2022-08-15 12:01:50 +02:00
Atgeirr Flø Rasmussen
03352ff0fc Fix missing angle bracket. 2022-08-15 11:29:26 +02:00
Bård Skaflestad
d277ca8670
Merge pull request #3998 from akva2/more_generic_problem
changed: move two more methods to generic problem class
2022-08-15 11:14:47 +02:00
Arne Morten Kvarving
ff922364f2
Merge pull request #3997 from bska/actionx-wpimult-regtest
Add Regression Test for WPIMULT in ACTIONX Block
2022-08-15 11:11:48 +02:00