Commit Graph

54 Commits

Author SHA1 Message Date
Kai Bao
4754f63d62 setting up logging so flowexp variants can report parsing errors 2024-09-18 16:56:30 +02:00
Arne Morten Kvarving
929515c672 move assignment of signal handlers into utility function in terminal.cpp 2024-09-05 13:45:12 +02:00
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
f7f7f9b7ef start.hh: cleanup includes 2024-09-05 11:40:41 +02:00
Arne Morten Kvarving
2492c0867d move resetTerminal functions from start.hh to terminal.cpp 2024-09-05 11:07:18 +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
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
0cda471821 remove Parameters::noPositionalParameters_
only used in a test
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
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
Arne Morten Kvarving
b3e08b4f2f timer.hh: rename to timer.hpp 2024-09-04 12:06:35 +02:00
Arne Morten Kvarving
e7a9c4cd21 threadmanager: remove unused typetag template parameter
and move implementation to a translation unit
2024-09-04 12:06:21 +02:00
Arne Morten Kvarving
f6abb4671e move ThreadsPerProcess to TypeTag-free parameter system 2024-08-12 15:49:47 +02:00
Arne Morten Kvarving
a2cbb8cb02 move InitialTimeStepSize to TypeTag-free parameter system 2024-08-12 15:49:47 +02:00
Arne Morten Kvarving
f5c7bada37 move EndTime to TypeTag-free parameter system 2024-08-12 15:49:47 +02:00
Arne Morten Kvarving
0e3d9604ab move PrintParameters to TypeTag-free parameter system 2024-08-12 15:49:47 +02:00
Arne Morten Kvarving
b424c380fa move ParameterFile to TypeTag-free parameter system 2024-08-12 15:20:28 +02:00
Arne Morten Kvarving
b682b7da03 Parameters::parseCommandLineOptions: remove unused TypeTag tparam 2024-08-09 11:30:27 +02:00
Arne Morten Kvarving
0e5ea0f567 Parameters::parseParameterFile: remove unused TypeTag tparam 2024-08-09 11:30:27 +02:00
Arne Morten Kvarving
b60f390a21 Parameters::printUsage: remove unused TypeTag tparam 2024-08-09 11:30:27 +02:00
Arne Morten Kvarving
b9d46da4e2 Parameters::printValues: remove unused TypeTag tparam 2024-08-09 11:30:27 +02:00
Arne Morten Kvarving
6a43a7ef71 Parameters::printUnused: remove unused TypeTag tparam 2024-08-09 11:30:27 +02:00
Arne Morten Kvarving
85e48bd157 Parameters::getLists: remove unused TypeTag tparam 2024-08-09 11:30:27 +02:00
Arne Morten Kvarving
a5b4f827fe Parameters::endParamRegistration
rename to endRegistration and drop unsed TypeTag tparam
2024-08-09 11:30:27 +02:00
Arne Morten Kvarving
78412ff5ba changed: remove the print-properties parameter
property introspection is not supported and unlikely to return
2024-08-07 11:46:42 +02:00
Arne Morten Kvarving
65fa0fae9e changed: move the InitialTimeStepSize parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
7101b68989 changed: move the EndTime parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
78cd842193 changed: move the PrintParameters parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
fda381c349 changed: move the PrintProperties parameter to Opm::Parameters 2024-07-01 17:51:01 +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
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
48fa0f3c59 drop macro EWOMS_REGISTER_PARAM 2024-04-05 10:05:30 +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
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
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
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
378b293918 Merge pull request #618 from akva2/janitoring
reorganize to avoid unused warnings without MPI
2020-06-19 16:55:35 +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
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
Bernd Flemisch
58182fe379 [properties] clean up 2020-05-18 15:53:58 +02:00
Bernd Flemisch
5e411a8665 fix test suite 2020-05-18 15:52:45 +02:00