Commit Graph

12756 Commits

Author SHA1 Message Date
Lisa Julia Nebel
449847da9e Give the parallel well info object to the MultisegmentWellEval class as well 2024-11-21 16:09:15 +01:00
Lisa Julia Nebel
655f4011c7 Calculate the segment rates of the well state correctly, i.e. sum when the well is distributed over multiple processes 2024-11-21 16:09:10 +01:00
Lisa Julia Nebel
9f4fdd09fa Throw an error if the status "lastStepFailed" in prepareStep of BlackoilModel is not the same across all processes 2024-11-21 15:01:46 +01:00
Lisa Julia Nebel
7573ce2e41 Add globalToLocal and localToGlobal functions to the ParallelWellInfo class 2024-11-21 15:01:43 +01:00
Vegard Kippe
7ece35defe Avoid potential segfault due to invalid vector.end() after erase() 2024-11-16 14:34:34 +01:00
Bård Skaflestad
d199977d75 Chase API Update of Action::Result
The type no longer uses operator overloading and the matching entity
back-end has been revised to no longer expose a vector of strings
for the well names directly.
2024-11-13 12:23:52 +01:00
Kjetil Olsen Lye
4210adff57 Removed #if HAVE_SUITESPARSE_UMFPACK in WellContributions.hpp and MultisegmentWellContribution.hpp since Suitesparse is required without #if guards further down. 2024-11-12 10:10:33 +01:00
Arne Morten Kvarving
91aabf6a92 Merge pull request #5706 from BigDataAccelerate/rename-bda-to-gpu
Remove bda naming from project
2024-11-11 16:26:21 +01:00
Razvan Nane
23e24a8cca Rename ISTLSolverGpu to ISTLSolverGpuBridge 2024-11-11 15:02:01 +01:00
Bård Skaflestad
091786a4bc Merge pull request #5727 from akva2/clang_janitoring
Janitoring
2024-11-11 14:02:54 +01:00
Arne Morten Kvarving
c11e9dd10b remove unused variable 2024-11-11 12:13:43 +01:00
Arne Morten Kvarving
be93ce7163 fixed: add virtual dtor to class with virtual members 2024-11-11 12:13:43 +01:00
Arne Morten Kvarving
d1e416cfe6 fixed: fmt::join is in ranges.h using {{fmt11}} 2024-11-11 12:04:23 +01:00
Atgeirr Flø Rasmussen
be2c078e71 Merge pull request #5636 from multitalentloes/gpu_support_co2gaspvt
Gpu support co2gaspvt
2024-11-08 15:39:53 +01:00
Bård Skaflestad
2908b4c8bb Merge pull request #5720 from BigDataAccelerate/fix_convergence_sepwells
Fix index bug in gpubridge separate wells
2024-11-08 15:11:26 +01:00
Tobias Meyer Andersen
78e01ad06f Add tests for gpu pvt classes 2024-11-08 14:41:34 +01:00
Alf Birger Rustad
1b4cb316ff Merge pull request #5721 from blattms/bugfix/copyright-aligned-alloc
Removed GPL copyright header from licensed under Boost license.
2024-11-08 13:14:17 +01:00
Markus Blatt
2c7806c6b5 Removed GPL copyright header from code licensed under Boost license.
One cannot just add another license when there are no substantial
creative changes and you are changing existing code only.

There is no need either as we can use code under Boost license next
to GPL.
2024-11-08 11:19:21 +01:00
Razvan Nane
3670479a93 Fix index bug in gpubridge separate wells 2024-11-08 11:08:45 +01:00
Kai Bao
7acd5c24f9 Merge pull request #5717 from vkip/fc_linrad
Add LINRAD (hybrid linear-radial) filter cake model
2024-11-07 15:01:05 +01:00
Bård Skaflestad
4739821cb4 Don't Pass Action::Result By Value Into Add_Run()
This is no longer needed so we can go back to using 'const' objects.
2024-11-07 12:15:41 +01:00
Vegard Kippe
bcd91601d5 Add LINRAD (hybrid linear-radial) filter cake model 2024-11-06 15:19:20 +01:00
Kai Bao
dd0fbbdede Merge pull request #5696 from totto82/speedup_gaslift
Dont iterate when computing bhp from thp for computing of the well potentials for gaslift optimization
2024-11-06 14:46:24 +01:00
Tor Harald Sandve
51d6b7e4e5 Merge pull request #5694 from totto82/fix_gaslift_PR1
Fix gaslift 1
2024-11-06 14:08:07 +01:00
Tor Harald Sandve
eb89a07831 Dont iterate when computing bhp from thp for computing of the well potentials for gaslift optimization 2024-11-06 14:06:09 +01:00
Bård Skaflestad
c8366e96ac Merge pull request #5716 from akva2/c++20_stuff
Quell c++-20 warnings
2024-11-06 11:17:44 +01:00
Tor Harald Sandve
38be1ac83f add comment on limiting the other rate 2024-11-06 11:06:35 +01:00
Arne Morten Kvarving
15b12eaa3e avoid use of std::is_pod_v
implement it ourself in terms of std::is_trivial and
std::is_standard_layout. std::is_pod_v is deprecated in c++-20
2024-11-06 10:38:50 +01:00
Arne Morten Kvarving
d9a3dd6f77 add casts to avoid comparison to / arithmetics with enums 2024-11-06 10:38:50 +01:00
Arne Morten Kvarving
68a727aac8 fixed: mark comparison operator const 2024-11-06 10:38:50 +01:00
Arne Morten Kvarving
13b5e23dec use constexpr instead of anonymous enums
c++-20 warns for arithmetics using enums
2024-11-06 10:38:50 +01:00
Bård Skaflestad
ef434a9b59 Chase API Update of UDQConfig's Evaluation Functions
The functions no longer use the 'episeodeIdx' or Schedule
parameters.  Update callers accordingly.

While here, split some long lines and remove unneeded local objects.
2024-11-05 18:18:43 +01:00
Bård Skaflestad
2546d2b181 Merge pull request #5713 from akva2/fmt_fix_runtime_formats
fixed: use constexpr formats and/or mark format strings runtime
2024-11-05 15:59:40 +01:00
Arne Morten Kvarving
ca6a5521a4 fixed: use constexpr formats and/or mark format strings runtime
fmt wants to do compile time validation of format strings under c++-20.
mark formatting strings constexpr where possible, and mark formats
runtime to disable validation where not possible.
2024-11-05 15:03:17 +01:00
Arne Morten Kvarving
72ac61a0b7 quell unused private member warning 2024-11-05 14:58:06 +01:00
Tor Harald Sandve
8c1e03b9c4 Merge pull request #5695 from totto82/switchGroup
dont switch from GRUP if check_group_constrains_well_iterations=false
2024-11-05 13:56:16 +01:00
Tor Harald Sandve
e372bde838 Dont redistribute gaslift on group that are not on group target 2024-11-05 11:09:55 +01:00
Tor Harald Sandve
113f8dfb4c Dont update group rates 2 times 2024-11-05 11:09:13 +01:00
Tor Harald Sandve
577229d38d Fix to sync groupinfo in parallel 2024-11-05 11:08:47 +01:00
Tor Harald Sandve
6a30966500 Limit the other rates when a rate is limited 2024-11-05 10:55:54 +01:00
Svenn Tveit
b42537155e Bug fix: nan if liquid rate was zero 2024-11-05 10:55:54 +01:00
Svenn Tveit
4ffee2c359 Do not need inc. grad vector in when removing surplus alq 2024-11-05 10:55:54 +01:00
Svenn Tveit
29cb332f72 Set small alq to zero 2024-11-05 10:55:54 +01:00
Tor Harald Sandve
30259aca87 Keep group rates updated during second stage 2024-11-05 10:55:54 +01:00
Tor Harald Sandve
b8a0005e8d FIX. Use rate not group potentials in CheckGroupTargetViolated 2024-11-05 10:55:54 +01:00
Tor Harald Sandve
363e3c2f4a simplify limited liquid group rate calculations 2024-11-05 10:55:54 +01:00
Tor Harald Sandve
85da447f87 Dont restrict top group in group rate computation 2024-11-05 10:55:54 +01:00
Razvan Nane
baf94f76d2 Rename bda to gpu for classes 2024-11-04 12:31:34 +01:00
Razvan Nane
7c4bafe936 rename bda folder&files 2024-11-04 10:47:34 +01:00
Bård Skaflestad
fadc96da44 Merge pull request #5705 from akva2/fix_div_by_zero_no_gpus
fixed: division by zero if no gpu device was found
2024-11-01 13:09:24 +01:00