Commit Graph

17593 Commits

Author SHA1 Message Date
Arne Morten Kvarving
522625aca8 WellGroupHelpers: change from namespace to class with static members
this to simplify adding support for float Scalars
2024-04-19 11:01:29 +02:00
Arne Morten Kvarving
ca0ca3c43e FractionCalculator: template Scalar type 2024-04-19 11:00:57 +02:00
Arne Morten Kvarving
c226c5c216 InjectionTargetCalculator: template Scalar type 2024-04-19 11:00:44 +02:00
Arne Morten Kvarving
eb3bbbb926 TargetCalculator: template Scalar type 2024-04-19 11:00:38 +02:00
Arne Morten Kvarving
6197aab409 TargetCalculator: move to namespace Opm::WGHelpers 2024-04-19 11:00:28 +02:00
Arne Morten Kvarving
9a42b70f20 TargetCalculator: drop indent for namespace 2024-04-19 11:00:20 +02:00
Arne Morten Kvarving
d6fc7cc4f6 WellGroupHelpers: drop indent for namespace 2024-04-19 10:59:53 +02:00
Atgeirr Flø Rasmussen
cff4e4b514
Merge pull request #5291 from akva2/template_scalar_well_stats
Template Scalar type for well state related classes
2024-04-19 10:12:18 +02:00
Tor Harald Sandve
af2e08d5aa Also fix gas-oil initialization with transision zone 2024-04-19 10:12:14 +02:00
Tor Harald Sandve
575bc813dd Fix gas-water initialization with transision zone 2024-04-19 08:39:24 +02:00
Tobias Meyer Andersen
f4b9e0a3a8 add safe conversion 2024-04-17 14:31:07 +02:00
Tobias Meyer Andersen
29cc7c4925 make variable naming convention more consistent 2024-04-17 13:49:08 +02:00
Tobias Meyer Andersen
2eefedf661 remove error logging in std::cerr 2024-04-17 13:46:49 +02:00
Tobias Meyer Andersen
ccd014cc1a remove some usage of this-> 2024-04-17 13:28:30 +02:00
Tobias Meyer Andersen
a649bef271 update GPU direct support check 2024-04-17 13:28:30 +02:00
Tobias Meyer Andersen
7235f34f0e Add classes handling correct MPI implementation
Make some changes to Georgs original code:
dynamically allocated arrays with std::vectors instead
Implement new class structure handling what
MPI communication implementation to use
create extra scopes to avoid reuse of index variable i

Update related tests:
Update test_cuowneroverlapcopy to account for new
class strucutre
Also remove line that invalidates the MPI tests for multiple processes
2024-04-17 13:28:30 +02:00
Georg Zitzlsberger
eb6f9dc1f9 Prototype implementation of CUDA aware MPI 2024-04-17 13:28:30 +02:00
Arne Morten Kvarving
1a222158c1
Merge pull request #5278 from bska/activate-reg-udq-test
Activate Regression Tests for Region Vectors in Field UDQs
2024-04-17 12:58:56 +02:00
Arne Morten Kvarving
7354bc6371 GroupEconomicLimitsChecker: template Scalar type 2024-04-17 11:21:34 +02:00
Arne Morten Kvarving
88bc65c201 GroupEconomicLimitsChecker: drop indent for namespace 2024-04-17 11:21:26 +02:00
Arne Morten Kvarving
137741e572 WellFilterCake: template Scalar type 2024-04-17 11:13:01 +02:00
Arne Morten Kvarving
15d75c5228 WGState: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
67f1811234 GroupState: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
be57843296 WellState: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
58f334b264 ALQState: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
ab0e696709 SingleWellState: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
e46e52f3dc SegmentState: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
d350049876 PerfData: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
ea1f4f822b ConnFiltrateData: template Scalar type 2024-04-17 11:12:40 +02:00
Arne Morten Kvarving
3b3fb6752c ConnFiltrateData: remove indent for namespace 2024-04-17 11:12:40 +02:00
Bård Skaflestad
456e149a64
Merge pull request #5290 from akva2/constraints_fix_bare_throw
BlackoilWellModelConstraints: fix throw of bare string
2024-04-17 11:06:25 +02:00
Bård Skaflestad
b847a2b532
Merge pull request #5289 from akva2/wellstate_direct_comm
WellState: remove template parameters for comm
2024-04-17 10:53:13 +02:00
Bård Skaflestad
607f64e00c
Merge pull request #5288 from akva2/multisegment_well_contrib_encaps
avoid including MultisegmentWellContribution in WellContributions.hpp
2024-04-17 10:52:07 +02:00
Bård Skaflestad
c5af762eb8
Merge pull request #5287 from lisajulia/feature/pyAction-comparison-tests
Add test for NEXT keyword (and WELTARG) as python comparison tests
2024-04-17 10:51:41 +02:00
Arne Morten Kvarving
a3f554e4fb fixed: don't throw a bare string
and use OPM_THROW
2024-04-17 10:38:40 +02:00
Arne Morten Kvarving
99f45ae916 BlackoilWellModelConstraints: use fmt 2024-04-17 10:38:40 +02:00
Arne Morten Kvarving
2886fe2fe9 BlackoilWellModelConstraints: break some long lines 2024-04-17 10:38:37 +02:00
Arne Morten Kvarving
a6cb9134ff WellState: remove template parameters for comm
use Parallel::Communication directly instead
2024-04-17 09:37:04 +02:00
Arne Morten Kvarving
7eba120662 avoid including MultisegmentWellContribution in WellContributions.hpp 2024-04-17 08:11:47 +02:00
Atgeirr Flø Rasmussen
d3b22323f1
Merge pull request #5284 from multitalentloes/fix_fast_amg_wrapper
Fix fast amg wrapper and generalize RebuildOnUpdatePreconditioner
2024-04-17 08:05:02 +02:00
Lisa Julia Nebel
ef77d8afd9 Add test for NEXT keyword (and WELTARG) as python comparison tests 2024-04-16 19:19:00 +02:00
Tobias Meyer Andersen
296f41ecc0 Make function that infers templates, avoid use of new 2024-04-16 15:39:17 +02:00
Bård Skaflestad
efc3df9fbe Activate Regression Tests for Region Vectors in Field UDQs
This commit adds sequential and parallel regression tests for the
UDQ_REG-01 example model which uses region-level summary vectors in
field-level UDQs.  Restarted tests are missing at this time.
2024-04-16 10:40:53 +02:00
Bård Skaflestad
63cbd2adce
Merge pull request #5285 from akva2/precond_enum_class
changed: make PreconditionerType an enum class
2024-04-16 10:03:09 +02:00
Arne Morten Kvarving
7311948b89 openCl preconditioners: make argument orders consistent 2024-04-16 09:39:56 +02:00
Arne Morten Kvarving
34e94256be Preconditioner: replace if nest with switch 2024-04-16 09:39:48 +02:00
Arne Morten Kvarving
cc5f362fdc changed: make PreconditionerType an enum class
this to avoid symbol clashes with the implementations.
while at it rename it to Type as Preconditioner::PreconditionerType is
redundant
2024-04-16 09:06:13 +02:00
Tobias Meyer Andersen
9e7b7b3e40 clang-format PreconditionerWithUpdate.hpp 2024-04-15 16:28:37 +02:00
Tobias Meyer Andersen
9ab15e3ff9 bugfix: make famg reconstruct on update 2024-04-15 16:24:43 +02:00
Tobias Meyer Andersen
0079a17889 re-enable DuneILU for multiprocess 2024-04-15 16:06:37 +02:00