Arne Morten Kvarving
bcbac79486
Merge pull request #5380 from akva2/linalg_template_scalar
...
LinAlg classes: template Scalar type
2024-05-31 08:40:11 +02:00
Kai Bao
e968da28bb
renaming calcRates to calcResvCoeff
...
and calcInjRates to calcInjResvCoeff.
2024-05-29 22:29:12 +02:00
Bård Skaflestad
03e8c7ecdc
Merge pull request #5394 from atgeirr/avoid-memory-leak
...
Avoid memory leak from the *unique_ptr<X>.release() antipattern.
2024-05-28 18:15:01 +02:00
Atgeirr Flø Rasmussen
6a7e1e08c0
Avoid memory leak from the *unique_ptr<X>.release() antipattern.
2024-05-28 16:49:08 +02:00
Bård Skaflestad
a16ef8b1c2
Merge pull request #5393 from atgeirr/avoid-out-of-scope-temporary
...
Bugfix: Avoid possible use of out-of-scope temporary.
2024-05-28 16:31:30 +02:00
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
Arne Morten Kvarving
ff39bc3b03
WellContribution: template Scalar type
2024-05-24 14:09:11 +02:00
Arne Morten Kvarving
c240df73c4
WellBhpThpCalculator: use appropriate Scalar type
2024-05-24 14:03:28 +02:00
Stein Krogstad
427351cc12
Include checking for zero targets from groups where required
2024-05-23 14:55:37 +02:00
Stein Krogstad
2db90a92e7
include group controls for zero rate target checking
2024-05-23 14:44:26 +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
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
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
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
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
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
Arne Morten Kvarving
e6b48dce8b
StandardWellConnections: use Scalar type
2024-05-22 08:09:39 +02:00
Arne Morten Kvarving
b736460afd
StandardWellAssemble: use Scalar type
2024-05-22 07:58:55 +02:00
Arne Morten Kvarving
d5d16eaee4
VFPHelpers: move some functions into a class with static members
...
and template Scalar type
2024-05-21 17:01:30 +02:00
Arne Morten Kvarving
3747981347
VFPProperties: template Scalar type
2024-05-21 17:01:30 +02:00
Arne Morten Kvarving
29d142b5e4
VFPProdProperties: template Scalar type
2024-05-21 17:01:30 +02:00
Arne Morten Kvarving
099322b0f0
VFPInjProperties: template Scalar type
2024-05-21 17:01:30 +02:00
Bård Skaflestad
8a4e78e7c4
Merge pull request #5354 from akva2/various_well_helpers_template_scalar
...
Various well helpers: template Scalar type
2024-05-21 13:14:50 +02:00
Arne Morten Kvarving
8e000d08ce
WellAssemble: use Scalar type
2024-05-15 08:19:36 +02:00
Arne Morten Kvarving
9c431d1921
WellBhpThpCalculator: template Scalar type
2024-05-15 08:19:36 +02:00
Arne Morten Kvarving
5a340258aa
WellConstraints: template Scalar type
2024-05-15 08:19:36 +02:00