Commit Graph

20406 Commits

Author SHA1 Message Date
Arne Morten Kvarving
021d6c2b0c amgcpr: use override 2024-08-27 06:43:00 +02:00
Bård Skaflestad
1a6b063824
Merge pull request #5559 from akva2/janitoring
do not capture compile time data in lambda
2024-08-26 10:34:36 +02:00
Kjetil Olsen Lye
f97389d1b5
Merge pull request #5554 from multitalentloes/refactor_cuistl
refactor cuistl to gpuistl
2024-08-26 09:55:13 +02:00
Atgeirr Flø Rasmussen
2e15a04db5
Merge pull request #5557 from atgeirr/avoid-cprw-incompatibilities
Intercept CPRW if MICP or polymer injectivity is used.
2024-08-26 09:50:57 +02:00
Markus Blatt
7ebb6e7034
Merge pull request #5547 from lisajulia/feature/action-parsing-strictness
Add action-parsing-strictness command line parameter
2024-08-26 09:06:25 +02:00
Arne Morten Kvarving
fb9f7541f3 do not capture compile time data in lambda
quells clang warnings
2024-08-26 08:27:34 +02:00
Arne Morten Kvarving
c0197625fc
Merge pull request #5558 from akva2/janitoring
ISTLSolverBda: avoid using deprecated Dune::CollectiveCommunication
2024-08-23 15:43:39 +02:00
Arne Morten Kvarving
4af89f1ced ISTLSolverBda: avoid using deprecated Dune::CollectiveCommunication 2024-08-23 15:10:25 +02:00
Tobias Meyer Andersen
d14fed904a fix typo 2024-08-23 14:42:37 +02:00
Atgeirr Flø Rasmussen
9ccb67ead6 Intercept CPRW if MICP or polymer injectivity is used.
These modeling options are currently incompatible with our CPRW implementation.
2024-08-23 13:08:08 +02:00
Tobias Meyer Andersen
e14ebcb826 fix cmake for gpuvector 2024-08-23 13:02:09 +02:00
Tobias Meyer Andersen
d925d62bf2 refactor cusparsematrixoperations 2024-08-23 11:15:18 +02:00
Arne Morten Kvarving
b5bd290887 BlackoilModel: use appropriate Scalar type 2024-08-23 11:15:03 +02:00
Arne Morten Kvarving
fda7298374 FlowGenericVanguard: optionally instantiate for float 2024-08-23 11:15:03 +02:00
Arne Morten Kvarving
bca05f8f7b ISTLSolverBda: optionally instantiate for float 2024-08-23 11:15:03 +02:00
Arne Morten Kvarving
4d08afd480 BdaBridge: optionally instantiate for float 2024-08-23 11:15:03 +02:00
Arne Morten Kvarving
ecb2cafdd3 rocsparseSolverBackend: optionally instantiate for float 2024-08-23 11:15:03 +02:00
Arne Morten Kvarving
346ba93b66 rocsparsePreconditioner: optionally instantiate for float
rocsparseBILU0: optionally instantiate for float
rocsparseCPR: optionally instantiate for float
2024-08-23 11:15:03 +02:00
Arne Morten Kvarving
3ff678b58a rocsparseCPR: add support for float Scalars 2024-08-23 11:15:03 +02:00
Tobias Meyer Andersen
d2681b26ed refactor opm_cuda_safe_call 2024-08-23 11:12:13 +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
Arne Morten Kvarving
6bcdad6ceb rocsparseBILU0: add support for float Scalars 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
644aeb582f rocsparseSolverBackend: add support for float Scalars 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
452a0a0baa rocalutionSolverBackend: optionally instantiate for float 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
c5ddec57d8 rocsparseMatrix: optionally instantiate for float 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
ecc62bbf19 HipKernels: optionally instantiate for float 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
cdad4500c1 amgclSolverBackend: disable for float scalar
for reasons deep down in amgcl, it does not compile. for now
just disable it
2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
7a3a79c11b openclSolverBackend: optionally instantiate for float 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
a0f8cc0aed Preconditioner: optionally instantiate for float
BILU0: optionally instantiate for float
BISAI: optionally instantiate for float
CPR: optionally instantiate for float
CPRCreation: optionally instantiate for float
Misc: optionally instantiate for float
2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
5bab71b8e3 OpenclMatrix: optionally instantiate for float 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
36c544e204 BlockedMatrix: optionally instantiate for float 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
da2a894090 CPR: disable with float Scalars 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
5825612a75 cusparseSolverBackend: optionally instantiate for float 2024-08-23 11:02:23 +02:00
Arne Morten Kvarving
35fb78ea9a cusparseSolverBackend: add float Scalar support 2024-08-23 11:02:23 +02:00
Bård Skaflestad
3dbeed2199
Merge pull request #5550 from akva2/float_support3
Float support in simulators: Batch 3
2024-08-23 10:29:14 +02:00
Bård Skaflestad
8e16495f61
Merge pull request #5479 from bska/bhp-depth-corr
Revise Mixture Density Method for No-Flow Producers
2024-08-22 20:24:12 +02:00
Tobias Meyer Andersen
85a9ad2b61 refactor cuistl folder names 2024-08-22 15:32:21 +02:00
Tobias Meyer Andersen
5919b417e3 refactor cuview 2024-08-22 15:27:23 +02:00
Tobias Meyer Andersen
fba1858f42 refactor cuvector 2024-08-22 15:20:20 +02:00
Tobias Meyer Andersen
3aa1767548 refactor cusparsematrix 2024-08-22 15:14:33 +02:00
Tobias Meyer Andersen
0c1ea3ee4d refactor cuseqilu0 2024-08-22 15:07:53 +02:00
Bård Skaflestad
93c368cbfa Revise Mixture Density Method for No-Flow Producers
This commit switches the approach introduced in commit eeb1b7e36 (PR
#3169) to using a mobility weighted average of cell level densities
for the connection level mixture densities in no-flow producing
wells.  We also use the recent stoppedOrZeroRateTarget() predicate
to identify those no-flow producing wells instead of inspecting the
connection flow rates.

The mobility weighted average gives a more monotone pressure buildup
for the stopped wells and this is usually what the engineer wants.
This revised approach furthermore needs fewer cell-level dynamic
properties so simplify the computeProperties() signature by
introducing a structure for the property callback functions and
update the callers accordingly.
2024-08-22 14:51:00 +02:00
Bård Skaflestad
586d8e2ddc Generate Property Object Directly
This commit switches computePropertiesForPressures() to return a
Properties object directly instead of populating an object
constructed in the caller.  There is just a single call site for
this function so there's no benefit to using an out parameter here.
While here, also collect the property callbacks into a structure to
simplify the function signature.  This also enables not filling in
the solvent properties unless solvent is active in the run.  Update
caller accordingly.
2024-08-22 14:51:00 +02:00
Bård Skaflestad
6f2ee80e41 Refactor Perforation Pressure Property Helper Function
In particular, split the sections of the main loop out to helper
functions

  - calculatePerforationOutflow() uses the global container factory
    to compute the outflow from each connection
  - initialiseConnectionMixture() computes the 'mix' array depending
    on the local flowing conditions of the connection.  We have
    renamed 'x' and 'mix' arrays to 'currentMixture' and
    'previousMixture' respectively to give more descriptive names in
    the process.

We've also split out the redistribution of the individual phases to
the new private helper functions reapportionGasOilMixture() and
reapportionGasWaterMixture() in order to reduce the cognitive load
of the main loop in computePropertiesForPressures().  While here,
employ pointer arithmetic to expose the underlying structure of the
assignment expressions.
2024-08-22 14:51:00 +02:00
Bård Skaflestad
fa199461b5 Varnish Parts of Well Implementation
In particular

  * Split some long lines
  * Reverse conditions to reduce nesting
  * Mark potentially unused arguments as [[maybe_unused]]
  * Try to remove redundant calculations
  * Mark some objets 'const' where possible
2024-08-22 14:51:00 +02:00
Tobias Meyer Andersen
1721a1071f refactor cuowneroverlapcopy 2024-08-22 14:46:38 +02:00
Tobias Meyer Andersen
158619083e refacor cujac 2024-08-22 14:40:23 +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
Tor Harald Sandve
66fd1dfcf3
Merge pull request #5527 from totto82/pvtnum_drdsdtcon
Support deactivation of individual DRSDT/DRVDT/DRSDTCON regions
2024-08-22 14:30:03 +02:00