Commit Graph

2785 Commits

Author SHA1 Message Date
Arne Morten Kvarving
dcc467cae1 Schedule: forward GuideRate(Config|Model) 2023-01-09 14:36:27 +01:00
Arne Morten Kvarving
4b86e31cd5 Schedule: move more code to compile unit
we can now forward Opm::Python
2023-01-09 12:48:45 +01:00
Arne Morten Kvarving
3808c85edf PinchMode: convert to enum class 2023-01-05 15:28:06 +01:00
Arne Morten Kvarving
f832c88d76 MinpvMode: convert to enum class 2023-01-05 14:07:30 +01:00
Atgeirr Flø Rasmussen
58b44d1615 Move material-related tests to a subdirectory.
Note that tests for some of the more general classes from
opm-material (such as Evaluation) have not been moved.
2023-01-04 09:44:40 +01:00
Arne Morten Kvarving
d135fada0a remove unnecessary <iostream> includes 2023-01-03 16:32:56 +01:00
Arne Morten Kvarving
c3ba1a35e8 include <ostream> where only ostream is needed 2023-01-03 16:32:56 +01:00
Arne Morten Kvarving
83e7e45f2d TabulatedComponent: remove unnecessary <iostream> include 2023-01-02 15:50:41 +01:00
Arne Morten Kvarving
7d386d9082 TridiagonalMatrix: move stream output to compile unit 2023-01-02 15:50:41 +01:00
Arne Morten Kvarving
c7d1fb33e7 Spline: move stream output to compile unit 2023-01-02 15:50:41 +01:00
Arne Morten Kvarving
0c596fbb08 test_eclmateriallawmanager: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
00adf562c9 test_eclblackoilpvt: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
d6a15066c5 test_eclblackoilfluidsystem: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
a971ecd4b0 test_threecomponents_ptflash: no reason to initialize MPI here 2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
f790b2bcba test_tabulation: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
45fc048a94 test_spline: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
35b3fd218d test_pengrobinson: no reason to initialize MPI here 2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
b53ea60438 test_ncpflash: no reason to initialize MPI here 2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
6b59969f54 test_co2brine_ptflash: no reason to initialize MPI here 2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
25eb867801 test_immiscibleflash: no reason to initialize MPI here 2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
9c5f863ec1 test_densead: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
7215312bb1 test_fluidsystems: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
9ccee63cac test_fluidmatrixinteractions: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:44 +01:00
Arne Morten Kvarving
b782a0360b test_components: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:43 +01:00
Arne Morten Kvarving
b81ba96285 test_brineco2pvt: no reason to initialize MPI here
thus we no longer depend on dune-common
2022-12-23 08:49:19 +01:00
Arne Morten Kvarving
6473798cf0 test_blackoilfluidstate: do not include dune mpi helper
thus we no longer depend on dune-common
2022-12-23 08:49:19 +01:00
Arne Morten Kvarving
bffe2b01e8 test_2dtables: no reason to initialize MPI here
and then we no longer depend on dune-common
2022-12-23 08:49:19 +01:00
Arne Morten Kvarving
ea1e8552e7 checkComponent: use Opm::demangle 2022-12-23 08:49:19 +01:00
Bård Skaflestad
92aaa54526 Merge pull request #3285 from akva2/co2_table_encapsulate
CO2: encapsulate CO2Tables
2022-12-22 16:29:09 +01:00
Arne Morten Kvarving
77886b1307 BlackOilFluidSystem: put initFromState in separate compile unit
thus encapsulating EclipseState and friends
2022-12-22 13:35:08 +01:00
Arne Morten Kvarving
1ed433cb51 WetHumidGasPvt: put initFromState in separate compile unit
thus encapsulating EclipseState, Schedule and TableManager
2022-12-22 13:22:07 +01:00
Tor Harald Sandve
ce3b37fe9d Merge pull request #3246 from totto82/addRsw
Add rsw
2022-12-21 13:39:23 +01:00
Arne Morten Kvarving
a7a8d63961 add missing test to OrderedMapTests
test findSimilarStrings
2022-12-21 10:34:28 +01:00
Bård Skaflestad
62022122c9 Merge pull request #3296 from bska/more-verbose-test
Prefer BOOST_CHECK_EQUAL
2022-12-20 14:07:21 +01:00
Bård Skaflestad
beef2ca737 Merge pull request #3293 from blattms/throw-for-missing-compsegs
Abort parser if COMPSEGS is missing for multisegment well.
2022-12-20 13:58:53 +01:00
Bård Skaflestad
6bfa9b6c35 Prefer BOOST_CHECK_EQUAL
That way, we get both strings printed if a test fails.
2022-12-20 13:31:28 +01:00
Bård Skaflestad
1a1ba1f7a1 Add Facility For Identifying Specific Well Segments
The primary use case is identifying UDQ sets when the model defines
UDQs at the segment level (SU*).  The call site will construct a
SegmentMatcher object backed by a specific ScheduleState, and then
segment-level UDQs will match against this to determine the correct
UDQ set on which to define the quantity.
2022-12-20 12:57:00 +01:00
Markus Blatt
f3a4408172 Added test whether parser throws for ms well without COMPSEGS keyword. 2022-12-20 11:11:24 +01:00
Markus Blatt
fd600582f5 Added missig COMPSEGS keywords for multisegment well tests.
No that we are stricter this is needed as otherwise the tests may
fail.

Due to my laziness I descreased the number of connection for the wells.
2022-12-20 10:55:49 +01:00
Arne Morten Kvarving
7f694089a7 added: fmt formatter for Evaluation
and a simple test
2022-12-20 08:45:06 +01:00
Tor Harald Sandve
9d583b2293 Add support for dissolved gas in water in the blackoil fluidsystem
If DISGASW is in the input deck gas in allowed to dissolved into water
Currently only works in combination with CO2STORE
For general support assosiated input tables needs to be provided
2022-12-16 13:49:44 +01:00
Arne Morten Kvarving
b58c682f62 CO2: encapsulate CO2Tables
this way we don't have to drag 6MB of tables into multiple compile
units. some flexibility is lost (ie the template parameter for the
table), but this is unused in the current code.

comment out some templates that do not instance as they are referring
to non-existent table members.
2022-12-15 13:52:49 +01:00
Arne Morten Kvarving
9a77d47c35 changed: drop exceptions class from material
use the opm-common exception classes directly
2022-12-13 12:47:20 +01:00
Arne Morten Kvarving
faa384abb6 initialize variable to avoid compiler warnings 2022-12-12 17:36:54 +01:00
Arne Morten Kvarving
6e1aab5164 EclEpsScalingPoints(Info): put init and print in separate compile unit
this allows to encapsulate EclipseState usage and iostream usage
2022-12-10 00:15:27 +01:00
Arne Morten Kvarving
c96a5a8668 fixed: zero initialize to avoid compiler warnings 2022-12-09 14:18:50 +01:00
Bård Skaflestad
d0f8a73083 Merge pull request #3234 from akva2/import_opm_material
Import opm-material with history
2022-12-09 12:26:16 +01:00
Arne Morten Kvarving
3710b8df69 Import (filtered) opm-material with history 2022-12-01 12:41:31 +01:00
Tor Harald Sandve
5e054cdec9 allow for co2store + gas + water 2022-11-30 11:28:06 +01:00
Bård Skaflestad
b07b9c714f Extract Common Setup Code to Helper Function
Suggested by [at]blattms
2022-11-28 13:38:56 +01:00