Commit Graph

102 Commits

Author SHA1 Message Date
Bernd Flemisch
bdb7bac3e8 [properties] replace remaining macro calls 2020-06-10 13:07:19 +02:00
Bernd Flemisch
b809e9a4f7 [properties] replace SET_STRING_PROP calls
It's not possible to have `constexpr std::string`s in C++17. Taking
`std::string_view` gives conversion errors. Since this is all temporary
and will be replaced by pure runtime parameters anyway, use string
literals for the moment.
2020-06-09 11:15:16 +02:00
Bernd Flemisch
3ba67ebaa8 [properties] replace SET_TAG_PROP calls 2020-06-09 10:55:25 +02:00
Bernd Flemisch
cbffa2a7ba [properties] replace SET_SCALAR_PROP calls 2020-06-09 10:43:28 +02:00
Bernd Flemisch
725c022e69 [properties] replace BEGIN/END_PROPERTIES macro calls 2020-06-08 17:11:48 +02:00
Bernd Flemisch
880c5223ac [properties] replace macro calls by native C++ 2020-06-08 16:41:02 +02:00
Markus Blatt
9b650a9258 Use negative status to indicate --help, --print-properties, --print-parameters.
That is the documented convention and needed to be able to mark these
runs as successful.
2020-06-03 16:42:25 +02:00
Atgeirr Flø Rasmussen
a8a8d8a072 Make gas-oil related outputs conditional.
This includes such things as saturation pressures, rs, rv etc.
2020-06-02 11:31:02 +02:00
Atgeirr Flø Rasmussen
c743d0a8c0 Use correct relative path names in pvd file. 2020-05-29 13:58:14 +02:00
Atgeirr Flø Rasmussen
b31f33f567 Avoid segfault for two-phase case. 2020-05-29 10:20:58 +02:00
Atgeirr Flø Rasmussen
61eb74b1d6 Merge pull request #591 from OPM/feature/replace-propertysystem
Replace property system
2020-05-28 12:05:11 +02:00
Bård Skaflestad
622d6665ce Properly Scale Solvent Saturation
Fixes a self-assignment issue.
2020-05-24 12:13:09 +02:00
Bernd Flemisch
196e0b9b9b [parameters] restore full functionality of getting parameters 2020-05-19 13:52:34 +02:00
Bernd Flemisch
4c3bd69687 [properties] recover a more general SET_SPLICES macro 2020-05-18 15:53:58 +02:00
Bernd Flemisch
cb81d87fd3 [properties] add forward declaration 2020-05-18 15:53:58 +02:00
Bernd Flemisch
2fe69dfd9b [properties] fix macros that are used in opm-simulators, change include order 2020-05-18 15:53:58 +02:00
Bernd Flemisch
58182fe379 [properties] clean up 2020-05-18 15:53:58 +02:00
Bernd Flemisch
de2ca522ff [properties] redistribute property tag definitions
Minimize changes compared to master. Avoid having the one and only
file for property tag definitions.
2020-05-18 15:53:58 +02:00
Bernd Flemisch
5e411a8665 fix test suite 2020-05-18 15:52:45 +02:00
Bernd Flemisch
54d665a532 [properties] recover splice mechanism 2020-05-18 15:52:45 +02:00
Bernd Flemisch
4f890ed379 [properties] continue with splice mechanism 2020-05-18 15:52:45 +02:00
Bernd Flemisch
2ffc13e9c3 [properties] splice mechanism almost working again 2020-05-18 15:52:45 +02:00
Bernd Flemisch
5fe2bc0aa9 intermediate state of reimplementing the splice functionality 2020-05-18 15:52:45 +02:00
Bernd Flemisch
6d6ba6909c [properties] replace propertysystem 2020-05-18 15:52:45 +02:00
hnil
09d58b770a Added option for projection saturation. It do not change the result for default setting. To be able to do this it
is slightly unlogical for surfactant runs which do projection two times.
2020-05-14 08:28:41 +02:00
Robert Kloefkorn
f1b2fc2baf [bugfix][GridCommHandle] fix incorrect signature of overloaded interface
method causing segfault with >= DUNE 2.7.
2020-04-24 14:04:56 +02:00
Arne Morten Kvarving
1afaba329a mark conditionally used parameters as maybe_unused
and anonymize unused parameters
2020-04-14 14:16:20 +02:00
Markus Blatt
be3ed71634 Fix compilation issues due to removed Dune::shared_ptr.
Those methods return a unique_ptr since at least DUNE 2.6.
2020-03-17 15:13:39 +01:00
Markus Blatt
aaa375b080 Merge pull request #602 from akva2/no_serialization_polymermodule
Avoid deck usage setting up BlackoilPolymerModule
2020-03-08 15:20:31 +01:00
Markus Blatt
a3cd4e6961 Merge pull request #601 from akva2/no_serialization_brine
Get rid of deck usage in BlackoilBrineModule
2020-03-06 20:13:16 +01:00
Arne Morten Kvarving
0b9130b516 remove serialization templates from BlackoilPolymerModule 2020-03-06 15:12:57 +01:00
Arne Morten Kvarving
44a579a5f7 rename BlackoilPolymerModule::initFromDeck to initFromState
no deck usage any longer
2020-03-06 15:12:57 +01:00
Arne Morten Kvarving
3f6a858856 changed: get rid of Deck usage in BlackoilPolymerModule 2020-03-06 15:12:57 +01:00
Arne Morten Kvarving
424ca49696 remove serialization templates from BlackoilBrineModule 2020-03-04 15:42:48 +01:00
Arne Morten Kvarving
8480523c88 rename BlackoilBrineModule::initFromDeck to BlackoilBrineModule::initFromState
no longer any deck usage
2020-03-04 15:42:15 +01:00
Arne Morten Kvarving
a991da41a3 get rid of deck usage in BlackoilBrineModule 2020-03-04 15:42:06 +01:00
Arne Morten Kvarving
35e8b211de remove serialization templates from BlackoilFoamModule 2020-03-04 14:57:54 +01:00
Arne Morten Kvarving
875a00728e rename BlackoilFoamModules::initFromDeck to BlackoilFoamModules::initFromState
no deck usage any longer
2020-03-04 14:57:17 +01:00
Arne Morten Kvarving
8aa3b2c2fe get rid of deck usage in BlackoilFoamModule 2020-03-04 14:56:38 +01:00
Arne Morten Kvarving
5e391417b5 remove serialization templates from BlackoilSolventModules 2020-03-04 09:59:12 +01:00
Arne Morten Kvarving
19c2c4f981 rename initFromDeck to initFromState
no deck usage any longer
2020-03-04 09:59:12 +01:00
Arne Morten Kvarving
cb2aaa3452 Get rid of deck usage in blackoilsolventmodules 2020-03-04 09:59:12 +01:00
Arne Morten Kvarving
5ac9e0a2b9 use TLMIXPAR from state 2020-03-04 09:10:41 +01:00
Arne Morten Kvarving
75454a81cb changed: pass the Schedule through the SolventModule::initFromDeck method
required for the SolventPvt setup
2020-03-03 14:26:48 +01:00
Tor Harald Sandve
32bb94624a Merge pull request #589 from akva2/serialization_brine_module
add mpi serialization for BlackoilBrineModule
2020-02-17 14:16:21 +01:00
Atgeirr Flø Rasmussen
46d4596390 Silence warning also in debug builds. 2020-02-13 09:38:39 +01:00
Arne Morten Kvarving
6784db5e71 bump required dune version to 2.6
and remove compatibility code
2020-02-06 16:10:06 +01:00
Arne Morten Kvarving
1df01a3730 add mpi serialization for BlackoilBrineModule 2020-02-05 09:13:18 +01:00
Tor Harald Sandve
d0dcaf4409 fix plmax for > 1 regions 2020-01-30 10:30:48 +01:00
Atgeirr Flø Rasmussen
4a0effe8cc Add and use gatherStrings() for exception messages.
Ensures user sees any useful exception messages during
initialization.
2020-01-21 15:33:31 +01:00