Commit Graph

697 Commits

Author SHA1 Message Date
Arne Morten Kvarving
99d64ff7ec blackoilbrineparams.hh: rename to blackoilbrineparams.hpp 2024-09-04 09:00:02 +02:00
Bård Skaflestad
f5aeffc8f5 Merge pull request #896 from akva2/floats
Add necessary changes to build float simulators
2024-08-30 15:28:34 +02:00
Kai Bao
818f8b9ee3 Merge pull request #877 from hnil/no_early_exit_zero_flux
Avoid deleting derivatives with zero pressure difference
2024-08-29 14:46:00 +02:00
Arne Morten Kvarving
61abbc2de9 consistently use Scalar type 2024-08-23 11:04:20 +02:00
Arne Morten Kvarving
43fafc1ada BlackoilMICPModules: fix field prop copy if Scalar is float 2024-08-23 11:04:20 +02:00
Tor Harald Sandve
fa610b49a3 Merge pull request #924 from totto82/drsdtcon_pvtnum
support drsdtcon with pvtnum
2024-08-22 14:30:18 +02:00
hnil
23034c0bee Avoid deleting derivatives with zero pressure difference 2024-08-22 11:44:59 +02:00
Arne Morten Kvarving
a7737fe5ae remove typetag based parameter system 2024-08-16 17:13:56 +02:00
Bård Skaflestad
d9863d5e32 Don't Require Floating Point from_chars() Function
This commit broadens the scope of commit c1e2a3a9b (PR #922) to
apply to all compilers/libraries, not just Clang/libc++, which do
not have support for floating-point types in std::from_chars().
While hopefully a transient situation, this enables building the
parameter system with GCC versions prior to GCC 11.  We expect to
require version 11 in the not too distant future, though.  At that
point we should revert this commit.

We use a configure-time feature test of the compiler (CMake command
'try_compile') to detect whether or not the compiler supports
floating-point overloads of std::from_chars() and emit the result to
config.h as the new preprocessor symbol

    HAVE_FLOATING_POINT_FROM_CHARS

We use std::strtod() as the fall-back alternative for floating point
conversion if this symbol is defined to false (zero).
2024-08-15 18:16:38 +02:00
Tor Harald Sandve
2b7fe4cae0 support drsdtcon with pvtnum 2024-08-14 15:07:34 +02:00
Arne Morten Kvarving
62a180447c move LinearSolver parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +02:00
Arne Morten Kvarving
0a40ed2950 move BlackoilNewtonMethod parameters to TypeTag-free parameter system 2024-08-14 09:30:45 +02:00
Arne Morten Kvarving
f14c73857b move EnableGravity to TypeTag-free parameter system 2024-08-14 09:30:45 +02:00
Arne Morten Kvarving
1a74100d00 move VtkDiscreteFractureModule parameters to TypeTag-free parameter system 2024-08-14 09:13:10 +02:00
Arne Morten Kvarving
5c108be7f3 move VtkPtFlashModule parameters to TypeTag-free parameter system 2024-08-14 09:12:05 +02:00
Arne Morten Kvarving
f011bb517f move VtkBlackoilMICPModule parameters to TypeTag-free parameter system 2024-08-14 09:06:31 +02:00
Arne Morten Kvarving
46b5b99495 move VtkBlackoilModule parameters to TypeTag-free parameter system 2024-08-14 09:06:31 +02:00
Arne Morten Kvarving
e388125e6d move VtkTemperatureModule parameters to TypeTag-free parameter system 2024-08-14 09:06:31 +02:00
Arne Morten Kvarving
8b860aac07 move VtkEnergyModule parameters to TypeTag-free parameter system 2024-08-14 09:06:31 +02:00
Arne Morten Kvarving
3c92550f74 move VtkSolventModule parameters to TypeTag-free parameter system 2024-08-14 09:06:31 +02:00
Arne Morten Kvarving
bd582e8150 move VtkPrimaryVars parameters to TypeTag-free parameter system 2024-08-14 09:06:31 +02:00
Arne Morten Kvarving
185b4d90d5 move VtkPhasePresence parameters to TypeTag-free parameter system 2024-08-14 09:06:31 +02:00
Arne Morten Kvarving
4853860d46 move VtkBlackoilEnergyModule parameters to TypeTag-free parameter system 2024-08-14 09:06:25 +02:00
Arne Morten Kvarving
19e8c394cf move VtkCompositionModule parameters to TypeTag-free parameter system 2024-08-14 09:06:25 +02:00
Arne Morten Kvarving
f97959c72c move VtkDiffusionModule parameters to TypeTag-free parameter system 2024-08-14 09:06:18 +02:00
Arne Morten Kvarving
26114b7e06 move VtkMultiphaseModule parameters to TypeTag-free parameter system 2024-08-14 09:06:18 +02:00
Arne Morten Kvarving
ee578104a6 move VtkBlackoilPolymerModule parameters to TypeTag-free parameter system 2024-08-14 09:06:18 +02:00
Arne Morten Kvarving
84d5044d83 move NewtonMaxIterations to TypeTag-free parameter system 2024-08-14 09:06:18 +02:00
Arne Morten Kvarving
930e6c8adf move NewtonTargetIterations to TypeTag-free parameter system 2024-08-14 09:06:18 +02:00
Arne Morten Kvarving
8285d999e8 move NewtonMaxError parameter to TypeTag-free parameter system 2024-08-14 09:06:10 +02:00
Arne Morten Kvarving
73344cfb60 move NewtonTolerance to TypeTag-free parameter system 2024-08-13 20:13:18 +02:00
Arne Morten Kvarving
6d649be5db move NewtonWriteConvergence to TypeTag-free parameter system 2024-08-13 20:13:18 +02:00
Arne Morten Kvarving
36b05f9295 move NewtonVerbose to TypeTag-free parameter system 2024-08-13 20:13:18 +02:00
Bård Skaflestad
b76dd13afc Merge pull request #923 from akva2/typetag_free_params1
Move more parameters to typetag-free parameter system
2024-08-13 19:43:58 +02:00
Arne Morten Kvarving
a480fe56b8 move EnableThermodynamicHints to TypeTag-free parameter system 2024-08-13 14:29:57 +02:00
Arne Morten Kvarving
32667526e0 move EnableStorageCache to TypeTag-free parameter system 2024-08-13 14:02:40 +02:00
Arne Morten Kvarving
5b7fd50d1e move EnableIntensiveQuantityCache to TypeTag-free parameter system 2024-08-13 13:38:15 +02:00
Arne Morten Kvarving
af30ebf0f7 move ContinueOnConvergenceError to TypeTag-free parameter system 2024-08-13 13:01:36 +02:00
Arne Morten Kvarving
07dcd1a431 move MaxTimestepDivisions to TypeTag-free parameter system 2024-08-13 12:30:43 +02:00
Arne Morten Kvarving
508422faf5 move MinTimestepSize to TypeTag-free parameter system 2024-08-13 12:02:15 +02:00
Arne Morten Kvarving
08002caa53 move MaxTimestepSize to TypeTag-free parameter system 2024-08-13 11:37:22 +02:00
Arne Morten Kvarving
c979eae201 move EnableVtkOutput to TypeTag-free parameter system 2024-08-13 10:34:22 +02:00
Arne Morten Kvarving
8a67f44793 move OutputDir parameter to TypeTag-less implementation 2024-08-13 10:05:53 +02:00
Bård Skaflestad
6b724aacc1 Merge pull request #921 from akva2/typetag_free_params_no_downstream
Start moving parameters to new parameter system
2024-08-12 19:45:28 +02:00
Bård Skaflestad
8d382f7dcb Merge pull request #922 from atgeirr/from_char-workaround
Add workaround for libc++ incomplete from_chars().
2024-08-12 18:38:22 +02:00
Arne Morten Kvarving
805e0a4bb7 move EnableGridAdaptation to TypeTag-free parameter system 2024-08-12 15:49:47 +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
d95c049936 move RestartTime to TypeTag-free parameter system 2024-08-12 15:49:47 +02:00