Arne Morten Kvarving
7726924cb1
start.hh: move check for nonexistent parameter file into parseParameterFile
...
now we don't have to pull in <fstream> in start.hh
2024-09-05 13:32:15 +02:00
Arne Morten Kvarving
909aa53efc
added: opm/models/utils/terminal.[ch]pp
...
holds some terminal related methods that used to sit
in parametersystem
2024-09-05 10:58:42 +02:00
Arne Morten Kvarving
36142f588c
ParameterSystem: cleanup includes
2024-09-05 10:08:09 +02:00
Arne Morten Kvarving
218988c85e
Parameters::printUnused: drop default parameter for stream
2024-09-05 10:08:09 +02:00
Arne Morten Kvarving
4967323c29
Parameters::printValues: drop default parameter for stream
2024-09-05 10:08:09 +02:00
Arne Morten Kvarving
ed0c480a19
Parameters::printUsage: drop default parameter for stream
2024-09-05 10:08:08 +02:00
Arne Morten Kvarving
4507501622
ParameterSystem: the entire backend store can now be an implementation detail
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
3161b4f547
ParameterSystem: add function to query if registration is open
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
0cda471821
remove Parameters::noPositionalParameters_
...
only used in a test
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
672de7665d
Parameters::printParamList can now be an implementation detail
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
faa963056d
Parameters::printParamUsage can now be an implementation detail
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
77dc5ad895
Parameters::getFlattenedKeyList can now be an implementation detail
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
410039206d
add Parameters::Parameter struct
...
this holds a key-value pair for a parameter with some utility functions
for comparison and printing.
use this to move Parameters::getLists to the translation unit
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
ae8dd62fe3
Parameters::Get split out parts of implementation
...
allows putting it in translation unit
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
cfad87b41f
ParameterSystem: remove ParamFinalizer
...
this adds no extra validation and complicates refactoring
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
65158cd3fb
Parameters::SetDefault split out parts of implementation
...
allows putting it in translation unit
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
741e97da61
Parameters::IsSet split out parts of implementation
...
allows putting it in translation unit
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
98b33d582f
Parameters::Register split out parts of implementation
...
allows putting it in translation unit
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
48bcf6ac04
Parameters::Hide split out main implementation
...
allows putting it in translation unit
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
7584f588a7
parametersystem: parseKey/transformKey can now be implementation details
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
427b619ca5
parametersystem: use a std::function instead of template parameter for callback
...
allows putting implementation in translation unit and this is hardly
performance critical
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
bc83bb6e1c
parametersystem: introduce translation unit
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
05f01bf819
parametersystem.hh: rename to .hpp
2024-09-05 10:07:40 +02:00