Commit Graph

1630 Commits

Author SHA1 Message Date
Arne Morten Kvarving
c54fb7816f changed: move the NewtonWriteConvergence parameter to Opm::Parameters 2024-07-01 14:13:34 +02:00
Arne Morten Kvarving
a39ccfd4d3 changed: move the NewtonVerbose parameter to Opm::Parameters 2024-07-01 14:13:34 +02:00
Bård Skaflestad
13964c96be Merge pull request #904 from akva2/fvbasediscretization_param_split
Start separating (compile time) Properties from (runtime) Parameters
2024-07-01 13:21:18 +02:00
Arne Morten Kvarving
3730ce659e fvbaseproperties.hh: put setting of defaults values in separate section
increases overview
2024-07-01 10:13:03 +02:00
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
23e9bc5ebc cosmetics 2024-07-01 09:46:45 +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
b38a991b05 changed: move the EnableThermodynamicHints parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
67bb6717f3 changed: move the EnableStorageCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
e3222a6dd6 changed: move the EnableIntensiveQuantitiesCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
f77c12bce9 changed: move the ContinueOnConvergenceError parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
3f1e2eb73c changed: move the MaxTimeStepDivisions parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
b7cf4b8132 changed: move the MinTimeStepSize parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
eaa75856c6 changed: move the MaxTimeStepSize parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
d1f3411a66 changed: move the EnableAsyncVtkOutput parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
db9ac62d9d changed: move the EnableVtkOutput parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
da2b47b459 changed: move the OutputDir parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
95841aaae2 changed: move the EnableGridAdaptation parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
7e304296a5 changed: start splitting compile time properties from runtime parameters
working towards putting the latter in the Opm::Parameters namespace.
start by moving the ThreadsPerProcess parameter
2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
055734ec23 Merge pull request #903 from akva2/fix_param_as_property
Fix runtime parameters used as properties
2024-07-01 09:46:33 +02:00
Arne Morten Kvarving
ca21f087b5 fixed: don't use a EnableVtkOutput parameters as a property
query it as a parameter should be queried instead
2024-06-28 13:19:43 +02:00
Arne Morten Kvarving
bd4ed90b78 fixed: don't use a runtime-parameter as a typetag property
since this is unused in any case, just remove it
2024-06-28 11:20:01 +02:00
Bård Skaflestad
d370945992 Merge pull request #898 from atgeirr/fix-expensive-call-in-flux-calc
Avoid call to FaceDir::FromIntersectionIndex() in hot path.
2024-04-27 22:48:04 +02:00
Atgeirr Flø Rasmussen
8699cec954 Avoid call to FaceDir::FromIntersectionIndex() in hot path.
Call is expensive, might also be good to improve the function in opm-common. (FaceDir.cpp)
2024-04-26 16:43:50 +02:00
Bård Skaflestad
1c8acff8c6 Merge pull request #895 from akva2/parametersystem_spring_cleaning
ParameterSystem: some cleanup
2024-04-15 12:53:56 +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
Bård Skaflestad
f105a3a446 Merge pull request #894 from akva2/parameters_isset_struct
Parameters::isSet: pass parameter struct instead of stringified
2024-04-15 11:14:35 +02:00
Arne Morten Kvarving
b02eb95477 Parameters::isSet: pass parameter struct instead of stringified 2024-04-15 10:23:39 +02:00
Bård Skaflestad
66152c5c4a Merge pull request #893 from timokoch/fix/missing-include-vtkmultiwriter
[fix] Fix missing include dune/common/version.hh
2024-04-10 19:30:47 +02:00
Timo Koch
cd92d15f05 [fix] Fix missing include dune/common/version.hh 2024-04-10 11:53:21 +02:00
Bård Skaflestad
c52f24ae28 Merge pull request #892 from akva2/remove_ewoms_get_param_macro
Remove ewoms get param macro
2024-04-05 17:03:56 +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
Bård Skaflestad
a2a700353c Merge pull request #891 from akva2/hide_param_no_strings
Parameters::hideParam
2024-04-05 14:00: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
Bård Skaflestad
2066977c8f Merge pull request #889 from akva2/fix_inconsistent_params
fixed: inconsistent parameter setups
2024-04-04 17:50:26 +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
Bård Skaflestad
2fea434f9a Merge pull request #887 from akva2/remove_hide_param_macro
remove EWOMS_HIDE_PARAM macro
2024-04-04 09:21:03 +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