Commit Graph

797 Commits

Author SHA1 Message Date
Arne Morten Kvarving
d9a3dd6f77 add casts to avoid comparison to / arithmetics with enums 2024-11-06 10:38:50 +01:00
Arne Morten Kvarving
13b5e23dec use constexpr instead of anonymous enums
c++-20 warns for arithmetics using enums
2024-11-06 10:38:50 +01:00
Kai Bao
ad587e77ad output XMF ,YMF and ZMF in UNRST file.
currently, it looks the value for ZMF is based on XMF and YMF.
ideally, the ZMF is part of the primary varialbes, it does not need to
be calculated based on XMF and YMF.

there is some refactoring that we can do here.
2024-10-30 11:15:38 +01:00
Kai Bao
4ba1cd53d7 add EclWriter to FlowProblemComp
so the FlowProblemComp can output ecl style output.
it duplicates the OutputBlackoilModule and GenericOutputBlackoilModule
for compositional related output for now.
2024-10-30 11:14:18 +01:00
Kai Bao
4754f63d62 setting up logging so flowexp variants can report parsing errors 2024-09-18 16:56:30 +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
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