Replies: 3 comments 5 replies
-
I like the idea in general and see the benefits for a wide range of users. Here's my "but" though: certain input parameters are highly problem dependent / specific, with a meaningful default value nearly impossible to specify. I know that currently we already set default values, but there are many input parameters where I don't like this feature at all. I'm more in favor of actively reducing input parameters and use more robust algorithms / methods to make them superfluous e.g.:
Is a input section that I would like to just see gone for ever. |
Beta Was this translation helpful? Give feedback.
-
Maybe I have not fully understood the proposal. From what I believe to understand, this would essentially open up a new layer of input, namely the @ischeider, You laid out a possible implementation, but I don't understand the motivation for the change. Could you maybe sketch an exemplary workflow where this is useful? |
Beta Was this translation helpful? Give feedback.
-
@ischeider, thanks for bringing up this topic! I can see use cases and the value of having "my own set of default parameters" that overwrite global default parameters. My possible use case: I'd use this feature for example to turn off visualization output of any field by default or turn on detailed linear solver output by default. I am not sure about the technical realization, so I can't say anything to it at the moment. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The issue #976 by @lauraengelhardt brought me to an idea, which I would like very much.
What if the defaults of parameters are not given in the code, but in a readable data file, maybe
defaults.json
?Then there might be the systemwide defaults in a file which the user should not change, but if the user has a
user_defaults.json
file, (some of) these default parameters overwrite the systemwide parameters.It is not the same as having a set of parameters in an extra file, which is then read by INCLUDES, since one cannot give the same parameter twice. However, defaults can be overwritten in the input file.
Of course this might lead to different results on different computers, so if a system test is run, there should probably be a flag
--ignore_user_defaults
to run the simulation with the systemwide defaults.I can imagine that the changes in the code are vast, but IMHO this would reduce input file parameters a lot.
Beta Was this translation helpful? Give feedback.
All reactions