Commit Graph

79 Commits

Author SHA1 Message Date
Arne Morten Kvarving
59a246e178 changed: move setting of default vanguard to basicproperties.hh
use forwarding to avoid including dgfvanguard.hh unless it is actually
used
2024-07-01 10:13:03 +02:00
Arne Morten Kvarving
cea13e4b96 changed: move the ParameterFile parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
4cce7022bb changed: move the GridGlobalRefinements parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
ac909fefc4 replace iterators with range based loops 2024-04-15 11:38:32 +02:00
Arne Morten Kvarving
fee52d410a ParameterSystem: drop unnecessary Param struct
move code to the appropriate template functions instead
2024-04-15 11:38:32 +02:00
Arne Morten Kvarving
43cbc059bd remove Param::check_
there is no way to inconsistently access parameters any more
so this sanity check is unnecessary
2024-04-15 11:19:12 +02:00
Arne Morten Kvarving
b02eb95477 Parameters::isSet: pass parameter struct instead of stringified 2024-04-15 10:23:39 +02:00
Arne Morten Kvarving
078b0e8679 remove macro EWOMS_GET_PARAM 2024-04-05 14:54:53 +02:00
Arne Morten Kvarving
4d2486196f remove macro EWOMS_GET_PARAM_ 2024-04-05 14:54:53 +02:00
Arne Morten Kvarving
fe06454112 pass property struct to Parameters::get
use this to obtain default value and parameter name
2024-04-05 14:54:53 +02:00
Arne Morten Kvarving
72322ec6ff Parameter::get: remove unused overload 2024-04-05 14:01:44 +02:00
Arne Morten Kvarving
5dea27c960 remove unused propName param in Parameters::get
it is always the same as paramName
2024-04-05 14:01:44 +02:00
Arne Morten Kvarving
04273d31c3 Parameters::hideParam
pass property struct instead of name of stringified parameter.
2024-04-05 12:55:57 +02:00
Bård Skaflestad
bdb93b6e62 Merge pull request #890 from akva2/remove_ewoms_register_param_macro
Remove ewoms register param macro
2024-04-05 12:42:27 +02:00
Arne Morten Kvarving
48fa0f3c59 drop macro EWOMS_REGISTER_PARAM 2024-04-05 10:05:30 +02:00
Arne Morten Kvarving
22a5aab10e Parameters::registerParam: grab name from struct
optionally allow a member to override
2024-04-05 10:03:36 +02:00
Arne Morten Kvarving
069161bd84 Parameters::registerParam: pass Property struct and use parameter type from its definition 2024-04-05 10:03:36 +02:00
Arne Morten Kvarving
6103383c1a fixed: inconsistent parameter setups
registered as int and obtained as unsigned, or registered
as Scalar and obtained as int
2024-04-04 14:34:37 +02:00
Arne Morten Kvarving
8b02ba2efc Parameters::registerParam: remove propertyName
it is always the same as paramName
2024-04-04 12:51:07 +02:00
Arne Morten Kvarving
b3090888b5 remove EWOMS_HIDE_PARAM macro
it adds no simplicity and only obfuscates
2024-04-04 08:17:16 +02:00
Arne Morten Kvarving
f22f51a833 Parameters::hideParam: remove unused parameter 2024-04-04 08:17:16 +02:00
Arne Morten Kvarving
399e39b31b remove EWOMS_GET_PARAM_LISTS macro
it adds no simplicity and only obfuscates
2024-04-03 22:35:40 +02:00
Bård Skaflestad
a2ff5e98ee Merge pull request #885 from akva2/remove_ewoms_param_is_set_macro
remove macro EWOMS_PARAM_IS_SET macro
2024-04-03 21:46:25 +02:00
Arne Morten Kvarving
4f6bc9280d remove macro EWOMS_PARAM_IS_SET macro
it simplifies nothing, only obscures.
remove unused different propTagName and use paramName.
2024-04-03 19:54:10 +02:00
Arne Morten Kvarving
783eaa2882 remove EWOMS_END_PARAM_REGISTRATION macro
it adds no simplicity and only obfuscates
2024-04-03 16:23:21 +02:00
Arne Morten Kvarving
0da838faa3 remove unused macro EWOMS_RESET_PARAMS_ 2024-04-03 13:39:46 +02:00
Arne Morten Kvarving
967738ee91 use OPM, not EWOMS in header guard 2024-04-03 13:39:46 +02:00
Arne Morten Kvarving
0d9312b5ee remove last remnants of property system macros
these have been deactivated for years
2024-03-22 12:11:55 +01:00
Markus Blatt
79dfb6b2a6 Try to detect more exception during parallel simulator setup.
We have experienced some deadlocks lately because of programming
errors. This change will not result in a clean exit for those
but rather an abort by MPI because of non-matching communications.

Also we cannot forsee whether people will add more exceptions in
those parts that were not protected. We better play it safe here.
2023-08-11 14:08:52 +02:00
Arne Morten Kvarving
dcc67bd11d minimum dune version required is now 2.7 2023-02-27 09:47:39 +01:00
Arne Morten Kvarving
0a430fc16a Simulator: add serialization support 2023-02-14 14:53:54 +01:00
hnil
cf5cc122d4 corrected error in rewrite of comment 2023-02-14 11:15:35 +01:00
hnil
8a12f02db3 - removed not nice comments
- made output text nicer
2023-02-14 11:11:19 +01:00
Arne Morten Kvarving
3e46a11164 propertysystem: avoid pulling in istream 2023-01-03 15:28:15 +01:00
Bård Skaflestad
6f54bd9310 Merge pull request #736 from akva2/use_range_generators
Use elements range generator
2022-10-17 18:10:48 +02:00
Arne Morten Kvarving
a8bbe5549c PffGridvector: use elements range generator 2022-10-17 13:37:44 +02:00
Markus Blatt
b9b6f7defd Use Communication instead of CollectiveCommunication for DUNE>=2.7.
The later is removed in 2.9.
2022-10-11 09:50:27 +02:00
Arne Morten Kvarving
d6c378e6a9 remove use of Unused.hpp 2022-08-02 11:24:40 +02:00
Elyes Ahmed
ab34e99636 adding the communicator as input in Simulator 2021-09-20 17:31:21 +02:00
Arne Morten Kvarving
ae537f536d fixed: do not use Opm:: prefix when inside namespace Opm 2021-05-25 11:46:55 +02:00
Arne Morten Kvarving
c559e348d4 anonymized unused parameters 2021-05-14 13:55:12 +02:00
Arne Morten Kvarving
d049cdd59d fixed: do not use Opm:: prefix when inside namespace Opm 2021-05-05 09:50:05 +02:00
Atgeirr Flø Rasmussen
e04f5844ca Disable property macros.
Still available by manually overriding OPM_ENABLE_OLD_PROPERTY_MACROS,
but not by default. This change has been communicated for a long time.
2020-10-19 09:54:31 +02:00
Atgeirr Flø Rasmussen
3c83f5df0f Add --help-all option that also prints hidden options. 2020-10-16 13:55:45 +02:00
Joakim Hove
b2cac8fa44 Remove unused #include of Exceptions 2020-09-21 10:57:42 +02:00
Atgeirr Flø Rasmussen
378b293918 Merge pull request #618 from akva2/janitoring
reorganize to avoid unused warnings without MPI
2020-06-19 16:55:35 +02:00
Atgeirr Flø Rasmussen
4e189a28df Merge pull request #617 from OPM/replace-property-macro-calls
Replace property macro calls
2020-06-19 11:51:10 +02:00
Arne Morten Kvarving
c8617141d4 reorganize to avoid unused warnings without MPI 2020-06-19 09:45:29 +02:00
Bernd Flemisch
d72de0f308 [cleanup] replace typedef by using 2020-06-10 13:49:42 +02:00
Bernd Flemisch
bdb7bac3e8 [properties] replace remaining macro calls 2020-06-10 13:07:19 +02:00