Atgeirr Flø Rasmussen
0fe76f6011
Bugfix: Avoid possible use of out-of-scope temporary.
...
Since std::clamp returns a reference we must be careful to not capture
the return value by reference, when there is a temporary among the input
parameters.
For the second change (adding the explicit Scalar return type to a lambda)
this is strictly speaking not necessary, as the lambda's return type is not
a reference, but that is obscure so the change is just done as to clarify.
2024-05-28 16:01:48 +02:00
Bård Skaflestad
c84f14042d
Merge pull request #5378 from akva2/fix_amgcl_bs1
...
amgclSolverBackend: fix for block_size == 1
2024-05-23 14:13:16 +02:00
Arne Morten Kvarving
60e91a0fb5
amgclSolverBackend: fix for block_size == 1
2024-05-23 13:41:26 +02:00
Bård Skaflestad
9841c5d21c
Merge pull request #5377 from akva2/equil_template_scalar
...
InitStateEquil: template Scalar type
2024-05-23 10:48:04 +02:00
Bård Skaflestad
8edcc6a060
Merge pull request #5376 from akva2/various_template_scalar
...
Various classes: use Scalar type
2024-05-23 09:48:33 +02:00
Arne Morten Kvarving
4bef925974
InitStateEquil: use Scalar type from FluidSystem
2024-05-23 09:39:49 +02:00
Arne Morten Kvarving
4cfb7a8566
EquilibrationHelpers: template Scalar type
2024-05-23 09:38:27 +02:00
Arne Morten Kvarving
5ed5676f32
WellGroupHelpers: use appropriate Scalar type
2024-05-23 09:08:48 +02:00
Arne Morten Kvarving
db2db4bab5
WellFilterCake: use appropriate Scalar type
2024-05-23 09:06:16 +02:00
Arne Morten Kvarving
ca6b73a6f8
VFPProdProperties: use appropriate Scalar type
2024-05-23 09:03:48 +02:00
Arne Morten Kvarving
769489f552
VFPHelpers: use appropriate Scalar type
2024-05-23 09:01:14 +02:00
Arne Morten Kvarving
e9050359db
BlackoilWellModel: use appropriate Scalar type
2024-05-23 08:52:59 +02:00
Arne Morten Kvarving
600e7ea2f7
Transmissibility: consistently use Scalar type
2024-05-23 08:42:51 +02:00
Arne Morten Kvarving
27ca3ab5f7
OutputBlackoilModule: consistently use Scalar type
2024-05-23 08:34:09 +02:00
Arne Morten Kvarving
39554ab7dd
NonLinearSolver: use Scalar type
2024-05-23 08:25:37 +02:00
Arne Morten Kvarving
cdf227bcbd
BlackoilModelParameters: consistently use Scalar
...
parameters are registered as Scalar not double
2024-05-23 08:17:45 +02:00
Arne Morten Kvarving
2205c68f0d
BlackoilModel: use Scalar type
2024-05-23 08:09:53 +02:00
Arne Morten Kvarving
aa4758ff07
BlackoilModelNldd: use Scalar type
2024-05-22 15:52:13 +02:00
Arne Morten Kvarving
61bfea46c7
GenericTracerModel: use Scalar type
2024-05-22 15:46:50 +02:00
Arne Morten Kvarving
bf93915101
WellOperators: use field type
2024-05-22 15:39:24 +02:00
Arne Morten Kvarving
0f685d6b44
WellOperators: fix indent
...
also some formatting fixes, using instead of typedef
2024-05-22 15:30:48 +02:00
Arne Morten Kvarving
bac2087b85
WellProdIndexCalculator: template Scalar type
2024-05-22 15:21:37 +02:00
Arne Morten Kvarving
685bca2c2a
WellProdIndexCalculator: drop indent for namespace
2024-05-22 15:21:37 +02:00
Bård Skaflestad
3544dfcabd
Merge pull request #5375 from akva2/msw_use_scalar
...
MultisegmentWell: use Scalar type
2024-05-22 15:18:45 +02:00
Arne Morten Kvarving
b9d03fc358
MultisegmentWell: use Scalar type
2024-05-22 14:33:36 +02:00
Arne Morten Kvarving
791d83b31a
MultisegmentWellSegments: use Scalar type
2024-05-22 14:24:22 +02:00
Arne Morten Kvarving
caf4bc1de2
MultisegmentWellGeneric: use Scalar type
2024-05-22 14:24:22 +02:00
Arne Morten Kvarving
b151cbabac
MultisegmentWellPrimaryVariables: use Scalar type
2024-05-22 14:24:22 +02:00
Arne Morten Kvarving
33ad8e3617
MultisegmentWellEval: use Scalar type
2024-05-22 14:24:22 +02:00
Arne Morten Kvarving
0da7903f8b
MultisegmentWellAssemble: use Scalar type
2024-05-22 13:24:05 +02:00
Bård Skaflestad
f249a64d6c
Merge pull request #5374 from akva2/pavg_template_scalar
...
PAvgCalculator: template Scalar type
2024-05-22 13:21:36 +02:00
Arne Morten Kvarving
27d99f78ec
ParallelWBPCalculation: template Scalar type
2024-05-22 10:51:12 +02:00
Arne Morten Kvarving
66a08b9c1a
ParallelPAvgCalculator: template Scalar type
2024-05-22 10:51:07 +02:00
Arne Morten Kvarving
b68a854909
ParallelPAvgDynamicSourceData: template Scalar type
2024-05-22 10:51:07 +02:00
Arne Morten Kvarving
b9ad890ea5
adjust to PAvgCalculatorCollection templating
2024-05-22 10:51:07 +02:00
Arne Morten Kvarving
0481c7c0b2
adjust to PAvgCalculator templating
2024-05-22 10:51:07 +02:00
Arne Morten Kvarving
59e6d4db08
adjust to PAvgDynamicSourceData templating
2024-05-22 10:51:07 +02:00
Bård Skaflestad
1d92aa952d
Merge pull request #5373 from akva2/various_helpers_template_scalar
...
Various helpers: template Scalar type
2024-05-22 10:50:30 +02:00
Arne Morten Kvarving
e0bcb314ea
MSWellHelpers: template Scalar type
2024-05-22 09:57:44 +02:00
Arne Morten Kvarving
16f5290038
ParallelWellInfo: template Scalar type
2024-05-22 09:48:22 +02:00
Arne Morten Kvarving
81189b89c7
PerforationData: template Scalar type
2024-05-22 09:48:07 +02:00
Arne Morten Kvarving
d2cbf33b62
PerforationRates: template Scalar type
2024-05-22 09:48:06 +02:00
Arne Morten Kvarving
1be9a08d3d
RateConverter: use Scalar type of FluidSystem
2024-05-22 09:47:37 +02:00
Arne Morten Kvarving
4e7ab26841
RegionAttributeHelpers: template Scalar type
2024-05-22 09:47:37 +02:00
Arne Morten Kvarving
e3891843df
RegionAverageCalculator: use Scalar type of FluidSystem
2024-05-22 09:47:37 +02:00
Bård Skaflestad
41a5e748d0
Merge pull request #5372 from akva2/stdwell_use_scalar
...
StandardWell: use Scalar type
2024-05-22 09:41:08 +02:00
Arne Morten Kvarving
f65b8ef33b
StandardWell: use Scalar type
2024-05-22 09:01:05 +02:00
Arne Morten Kvarving
21c2352c44
StandardWellEval: use Scalar type
2024-05-22 09:01:05 +02:00
Arne Morten Kvarving
5636721bab
StandardWellEquations: use Scalar type
2024-05-22 09:01:05 +02:00
Arne Morten Kvarving
e9794e1de5
StandardWellPrimaryVariables: use Scalar type
2024-05-22 09:01:05 +02:00