Commit Graph

1800 Commits

Author SHA1 Message Date
Tor Harald Sandve
fa610b49a3 Merge pull request #924 from totto82/drsdtcon_pvtnum
support drsdtcon with pvtnum
2024-08-22 14:30:18 +02:00
Bård Skaflestad
8cc1a0e3f7 Merge pull request #928 from akva2/remove_typetag_param_system
remove typetag based parameter system
2024-08-16 21:11:12 +02:00
Arne Morten Kvarving
a7737fe5ae remove typetag based parameter system 2024-08-16 17:13:56 +02:00
Bård Skaflestad
d60a21e55a Merge pull request #926 from bska/no-floating-point-from-chars
Don't Require Floating Point from_chars() Function
2024-08-16 09:06:17 +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
Bård Skaflestad
d271cd3e06 Merge pull request #925 from akva2/typetag_free_params2
Move parameters to typetag free parameter system: Batch 3
2024-08-14 14:43:50 +02:00
Arne Morten Kvarving
7425ddeb9c move ReservoirProblem parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +02:00
Arne Morten Kvarving
0ff3c08df6 move Co2PtFlashProblem parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +02:00
Arne Morten Kvarving
9a572e1c16 move LensProblem parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +02:00
Arne Morten Kvarving
0d7bba7f4f move GroundWaterProblem parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +02:00
Arne Morten Kvarving
92cc1543d4 move Co2InjectionProblem parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +02:00
Arne Morten Kvarving
87b1ea17b4 move FingerProblem parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +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