Commit Graph

766 Commits

Author SHA1 Message Date
Arne Morten Kvarving
7a92006ffe vtkblackoilenergymodule: move parameters to dedicated struct with a translation unit 2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
e50cd2fb82 vtkblackoilenergymodules.hh: rename to vtkblackoilenergymodules.hpp 2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
a44640bc65 vtkblackoilmodule: move parameters to dedicated struct with a translation unit 2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
6a1b33c793 vtkblackoilmodule.hh: rename to vtkblackoilmodule.hpp 2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
44503c25e8 blackoilnewtonmethodparameters.hpp: rename to blackoilnewtonmethodparams.hpp
for consistency
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
2daf51f45e BlackoilNewtonMethod: add struct holding parameters and put in blackoilnewthonmethodparameters.cpp 2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
ae1a1ce57e blackoilnewtonmethod.hh: rename to blackoilnewtonmethod.hpp 2024-09-15 22:43:30 +02:00
Arne Morten Kvarving
3a22dfe92a
Merge pull request #5603 from akva2/fix_debugi
fixed: initialize members
2024-09-12 12:17:19 +02:00
Arne Morten Kvarving
89b8bf711f fixed: initialize members
caused issues for serialization tests in the debug iterator build
2024-09-12 12:05:15 +02:00
Kai Bao
2c75adf165 adding a compositional simulator
flowexp_comp
2024-09-11 14:58:33 +02:00
Arne Morten Kvarving
93d796ef22 restart: add translation unit 2024-09-05 15:02:52 +02:00
Arne Morten Kvarving
e22276b91a restart.hh: rename to restart.hpp 2024-09-05 13:58:09 +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
e56fc10b4c add utility function for verifying simulator output directory
use this in fvbaseproblem.hh. allows to encapsulate some includes
2024-09-05 13:32:15 +02:00
Arne Morten Kvarving
5d2a25ac14 add utility function to read time step files
and use this in simulator.hh
2024-09-05 13:32:15 +02:00
Arne Morten Kvarving
478ddb5e52 added: opm/models/simulatorutils.[ch]pp
move humanReadableTime from simulator.hh into it
2024-09-05 13:32:15 +02:00
Arne Morten Kvarving
daea73d696 simulator: drop unnecessary wrapper function 2024-09-05 13:32:15 +02:00
Bård Skaflestad
46c652b553 Fix Build on Older Compilers
The strsignal() function is declared in <string.h> on those.
2024-09-05 13:19:44 +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
462926a356 ParameterSystem: cosmetics 2024-09-05 10:08:29 +02:00
Arne Morten Kvarving
5b40229211 ParameterSystem: replace loop with standard algorithms 2024-09-05 10:08:09 +02:00
Arne Morten Kvarving
95ab000612 ParameterSystem: replace if nest with switch 2024-09-05 10:08:09 +02:00
Arne Morten Kvarving
4cc187d2d8 ParameterSystem: replace std::list with std::vector 2024-09-05 10:08:09 +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
Arne Morten Kvarving
2bdab9e518 parametersystem: pass add callback for adding keys to positional parameter handler
this way the backing store for the parameters can be an implementation
detail of the parameter system
2024-09-05 10:07:40 +02:00
Arne Morten Kvarving
d36fefd428 fixed: build without MPI 2024-09-04 12:51:05 +02:00
Arne Morten Kvarving
c4871367e8 fixed: building without float simulators
pointy hat is all mine
2024-09-04 12:51:05 +02:00