Arne Morten Kvarving
55c42d7b83
one translation unit per instance
2024-10-04 14:45:34 +02:00
Arne Morten Kvarving
bfc5d6f742
small adjustments to python packaging
2024-10-03 13:13:52 +02:00
Arne Morten Kvarving
2e7b014769
remove opm-models from data update script
2024-10-02 10:47:54 +02:00
Arne Morten Kvarving
847f1b6f42
fixed: missing TEST_ARGS in test specifications
2024-10-02 10:32:18 +02:00
Arne Morten Kvarving
15d6f13d92
Merge pull request #5638 from GitPaean/compositional_tolerance
...
set newton tolerance to be 1.e-7 for compositional running
2024-10-02 08:37:48 +02:00
Arne Morten Kvarving
2353ba56a6
changed: don't store schedule keywords unless required in simulators
...
in the python simulator we cannot make this decision up front
since the schedule can be modified from python code so we have
to do the safe thing
2024-09-27 11:24:20 +02:00
Arne Morten Kvarving
048ae50255
add missing overrides
2024-09-17 07:52:10 +02:00
Arne Morten Kvarving
ea8ee36f51
FlowProblem: add virtual dtor
2024-09-17 07:51:56 +02:00
Arne Morten Kvarving
763a994d6a
anonymize parameters to quell warnings
2024-09-17 07:43:07 +02:00
Arne Morten Kvarving
3ee3dc2b5f
newtonmethod: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
1b19fa02f4
newtonmethodparameters.hh: rename to newtonmethodparams.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
e0af58a7cf
vtktemperaturemodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
e093101d1c
vtktemperaturemodule.hh: rename to vtktemperaturemodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
4eb70830cf
vtkptflashmodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
29f2a35694
vtkptflashmodule.hh: rename to vtkptflashmodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
023328bed2
vtkprimaryvarsparams: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
be4026ecce
vtkprimaryvarsmodule.hh: rename to vtkprimaryvarsmodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
adb6438d84
vtkphasepresencemodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
08b9c78ddd
vtkphasepresencemodule.hh: rename to vtkphasepresencemodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
f5e2b46c37
vtkmultiphasemodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
a895678c30
vtkmultiphasemodule.hh: rename to vtkmultiphasemodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
924da68d02
vtkenergymodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
85bbba93fa
vtkenergymodule.hh: rename to vtkenergymodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
b1afd79cd9
vtkdiscretefracturemodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
ca56913816
vtkdiscretefracturemodule.hh: rename to vtkdiscretefracuremodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
28995d3624
vtkdiffusionmodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
6ab0fbe6c2
vtkdiffusionmodule.hh: rename to vtkdiffusionmodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
2d000835a7
vtkcompositionmodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
c7c15fbe23
vtkcompositionmodule.hh: rename to vtkcompositionmodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
72d3395e51
vtkblackoilsolventmodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
3af8ed8994
vtkblackoilsolventmodule.hh: rename to vtkblackoilsolventmodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
3733e548bb
vtkblackoilpolymermodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
18ddfc8fb2
vtkblackoilpolymermodule.hh: rename to vtkblackoilpolymermodule.hpp
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
ce4e57dab3
vtkblackoilmicpmodule: move parameters to dedicated struct with a translation unit
2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
28bbe60b6e
vtkblackoilmicpmodule.hh: rename to vtkblackoilmicpmodule.hpp
2024-09-16 15:17:50 +02:00
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
3a5d527417
Merge pull request #5602 from totto82/fixBHPCO2
...
BUGFIX fix injection bhp pressure for CO2/H2 STORE
2024-09-13 15:48:17 +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
Arne Morten Kvarving
6d8b5b204b
fixed: make sure we have valid indices in readInitialCondition_
...
quells warnings building flowexp_comp
2024-09-12 10:56:44 +02:00
Arne Morten Kvarving
e559fc371b
MPIPacker: mark buffer const in unpacker functions
2024-09-11 12:46:44 +02:00
Arne Morten Kvarving
e808a3d2f3
adjust to change in MemPacker unpack signature
2024-09-11 12:46:44 +02:00
Arne Morten Kvarving
7fb5260e53
Merge pull request #5593 from multitalentloes/fix_macro_todo
...
reolve gpuistl macro todo
2024-09-10 20:10:30 +02:00
Arne Morten Kvarving
15c111f942
Merge pull request #5591 from multitalentloes/fix_gpubicgstab_name
...
update the name of the solver to fit with gpuistl
2024-09-10 15:26:18 +02:00
Arne Morten Kvarving
1d93fc2957
Merge pull request #5584 from akva2/jenkins_failure_report
...
added: scripts for generating failure reports on jenkins
2024-09-10 11:56:39 +02:00
Arne Morten Kvarving
2166ec6328
added: scripts for generating failure reports on jenkins
...
this creates a pdf for each failed case with plots of summary
curves
2024-09-10 11:47:46 +02:00
Arne Morten Kvarving
2a9d81227b
changed: subclass Main for python
...
move the initFlowBlackoil method into it
in particular we then avoid the FlowMainType type alias
in Main.hpp
2024-09-09 14:28:20 +02:00
Arne Morten Kvarving
fc96e9da75
Main: mark some members protected
...
to enable subclassing
2024-09-09 14:28:11 +02:00
Arne Morten Kvarving
8ed1149252
fix python package versioning
...
remove opm-models cloning
build both bindings in one build directory
2024-09-09 12:45:00 +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
Arne Morten Kvarving
e081be96cd
Merge pull request #5581 from bska/fix-build-on-older-compilers
...
Fix Build on Older Compilers
2024-09-05 13:32:04 +02:00
Arne Morten Kvarving
ec3081baab
Merge pull request #5580 from akva2/add_terminal_tu
...
added: translation unit for terminal manipulation stuff
2024-09-05 12:03:07 +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
f4801ec787
Merge pull request #5576 from akva2/fix_build_no_float_no_mpi
...
Fix build without float simulators
2024-09-04 13:45:42 +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
Arne Morten Kvarving
f838cb6ecf
timer: introduce translation unit
2024-09-04 12:06:52 +02:00
Arne Morten Kvarving
b3e08b4f2f
timer.hh: rename to timer.hpp
2024-09-04 12:06:35 +02:00
Arne Morten Kvarving
13b575eae9
tasklets: introduce translation unit
2024-09-04 12:06:21 +02:00