Commit Graph
24062 Commits
Author SHA1 Message Date
Bård Skaflestad 79eb2a0d8f Merge pull request #6873 from akva2/replace_erase_remove
replace erase-remove idiom with std::erase[_if]
2026-02-24 13:05:21 +01:00
Bård Skaflestad a544b8d5d7 Merge pull request #6872 from akva2/use_ranges_set_symmetric_difference
replace std::set_symmetric_difference with std::ranges::set_symmetric_difference
2026-02-24 13:04:08 +01:00
Bård Skaflestad 7f61681895 Merge pull request #6871 from akva2/use_ranges_equal
replace std::equal with std::ranges::equal where appropriate
2026-02-24 12:43:12 +01:00
Bård Skaflestad e50c7aec2f Merge pull request #6870 from akva2/use_ranges_reverse
replace std::reverse with std::ranges::reverse where appropriate
2026-02-24 12:07:47 +01:00
Markus Blatt 0260ce51fc Merge pull request #6842 from blattms/bugfix/fix-roc-linking
Fix CMake linking for rocalution, rocblas and rocsparse.
2026-02-24 11:56:12 +01:00
Arne Morten Kvarving 7025f17da5 replace erase-remove idiom with std::erase[_if] 2026-02-24 11:38:54 +01:00
Arne Morten Kvarving bdcd3772a2 replace std::set_symmetric_difference with std::ranges::set_symmetric_difference where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-24 11:35:36 +01:00
Arne Morten Kvarving 70e70b65e3 replace std::equal with std::ranges::equal where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-24 11:30:38 +01:00
Arne Morten Kvarving c3f4bd3332 replace std::reverse with std::ranges::reverse where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-24 10:48:15 +01:00
Bård Skaflestad f95847e8e7 Merge pull request #6869 from akva2/use_ranges_is_sorted
replace std::is_sorted with std::ranges::is_sorted where appropriate
2026-02-24 10:34:45 +01:00
Bård Skaflestad 4d7976fe94 Merge pull request #6868 from akva2/use_ranges_binary_search
replace std::binary_search with std::ranges::binary_search where appropriate
2026-02-24 10:32:43 +01:00
Arne Morten Kvarving 4bf5614771 replace std::is_sorted with std::ranges::is_sorted where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-24 10:31:30 +01:00
Bård Skaflestad 6cba3cb7ab Merge pull request #6867 from akva2/use_ranges_all_of
replace std::all_of with std::ranges::all_of where appropriate
2026-02-24 09:34:39 +01:00
Arne Morten Kvarving 7db8126d53 replace std::binary_search with std::ranges::binary_search where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-24 08:54:52 +01:00
Arne Morten Kvarving 978faf2bec replace std::all_of with std::ranges::all_of where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-24 08:47:46 +01:00
Bård Skaflestad 4ff7279396 Merge pull request #6866 from akva2/use_ranges_max_element
replace std::max_element with std::ranges::max_element where appropriate
2026-02-24 08:25:25 +01:00
Arne Morten Kvarving 35d9ab77bb replace std::max_element with std::ranges::max_element where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-24 07:59:48 +01:00
Bård Skaflestad 0484d42517 Merge pull request #6863 from akva2/use_ranges_min_element
replace std::min_element with std::ranges::min_element where appropriate
2026-02-23 19:01:13 +01:00
Bård Skaflestad 21b3ba2a61 Merge pull request #6862 from akva2/use_ranges_find_if
replace std::find_if with std::ranges::find_if where appropriate
2026-02-23 17:27:26 +01:00
Bård Skaflestad b4dcade447 Merge pull request #6861 from akva2/use_ranges_find
replace std::find with std::ranges::find where appropriate
2026-02-23 16:25:14 +01:00
Bård Skaflestad 432a4d2ee2 Merge pull request #6860 from akva2/use_tracy_generic
tracy is now handled by generic build system
2026-02-23 16:07:44 +01:00
Bård Skaflestad 68703f892e Merge pull request #6859 from akva2/use_ranges_any_of
replace std::any_of with std::ranges::any_of where appropriate
2026-02-23 15:30:01 +01:00
Arne Morten Kvarving b5a6eac9b2 replace std::min_element with std::ranges::min_element where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 15:05:37 +01:00
Bård Skaflestad 408e079d8b Merge pull request #6858 from akva2/use_ranges_count_if
replace std::count_if with std::ranges::count_if where appropriate
2026-02-23 14:35:15 +01:00
Arne Morten Kvarving 277e53fe2c replace std::find_if with std::ranges::find_if where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 14:32:52 +01:00
Arne Morten Kvarving e030a590a9 replace std::find with std::ranges::find where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 13:18:29 +01:00
Bård Skaflestad 3251a2c8b9 Merge pull request #6857 from akva2/use_ranges_count
replace std::count with std::ranges::count where appropriate
2026-02-23 12:47:18 +01:00
Bård Skaflestad c80a5575ee Merge pull request #6856 from akva2/use_ranges_fill
replace std::fill with std::ranges::fill where appropriate
2026-02-23 12:27:53 +01:00
Arne Morten Kvarving 35be5dde30 tracy is now handled by generic build system 2026-02-23 12:15:41 +01:00
Bård Skaflestad 768b4d369c Merge pull request #6855 from akva2/use_ranges_copy_if
replace std::copy_if with std::ranges::copy_if where appropriate
2026-02-23 11:56:42 +01:00
Arne Morten Kvarving 167105883d replace std::any_of with std::ranges::any_of where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 11:37:33 +01:00
Arne Morten Kvarving 7f848ed396 replace std::count_if with std::ranges::count_if where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 10:56:37 +01:00
Bård Skaflestad aae9c06fee Merge pull request #6854 from akva2/use_ranges_copy
replace std::copy with std::ranges::copy where appropriate
2026-02-23 10:48:34 +01:00
Arne Morten Kvarving 5aec081c62 replace std::count with std::ranges::count where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 10:32:56 +01:00
Arne Morten Kvarving 5e13b84f9c replace std::fill with std::fill_n where appropriate
more expressive
2026-02-23 10:23:45 +01:00
Arne Morten Kvarving f00ab30268 replace std::fill with std::ranges::fill where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 10:23:45 +01:00
Arne Morten Kvarving 4aa5fe76ee replace std::copy_if with std::ranges::copy_if where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 10:12:13 +01:00
Arne Morten Kvarving ee00a789be replace std::copy with std::copy_n where appropriate
more expressive
2026-02-23 08:41:16 +01:00
Arne Morten Kvarving 9d30a6d502 replace std::copy with std::ranges::copy where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 08:20:59 +01:00
Bård Skaflestad 4b2a574727 Merge pull request #6851 from akva2/use_ranges_foreach
replace std::for_each with std::ranges::for_each where appropriate
2026-02-20 16:19:32 +01:00
Arne Morten Kvarving d18117fbe6 replace std::for_each with std::ranges::for_each where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-20 15:41:07 +01:00
Bård Skaflestad a67322cc15 Merge pull request #6850 from akva2/use_ranges_sort
replace std::sort with std::ranges::sort where appropriate
2026-02-20 15:40:27 +01:00
Arne Morten Kvarving 9ff0392e6b replace std::sort with std::ranges::sort where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-20 14:21:53 +01:00
Tor Harald Sandve f29e84d06b Merge pull request #6837 from hakonhagland/refact_wgc
Move getAutoChokeGroupProductionTargetRate() to GroupStateHelper
2026-02-20 14:18:24 +01:00
Bård Skaflestad 3461a3f01c Merge pull request #6848 from akva2/use_ranges_transform
replace std::transform with std::ranges::transform where appropriate
2026-02-20 14:08:16 +01:00
Arne Morten Kvarving 670743f786 replace std::transform with std::ranges::transform where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-20 13:28:11 +01:00
Arne Morten Kvarving 91ad70dfb7 Merge pull request #6847 from jakobtorben/add_missing_cuda_safe_call
Add missing OPM_GPU_SAFE_CALL for cudaMemset
2026-02-20 12:30:01 +01:00
Jakob Torben 40168ec82e Add missing OPM_GPU_SAFE_CALL for cudaMemset 2026-02-20 10:38:51 +01:00
Håkon Hægland 7abd6f9b88 Move autochoke target rate to GroupStateHelper
Move getAutoChokeGroupProductionTargetRate() from
WellGroupControls (static method) to GroupStateHelper
(member method). The method has no well dependency and
manually reimplements chain iteration already available
as applyReductionsAndFractions_().

The moved implementation delegates to
applyReductionsAndFractions_() with do_addback=false
and the actual getLocalReductionLevel_() value, replacing
the manual reduction loop.

Make getLocalReductionLevel_() private again (reverting
the visibility change from the previous commit), since
its only external caller was the now-removed static
method in WellGroupControls.

Remove unused FractionCalculator.hpp include from
WellGroupControls.cpp and WellGroupControls.hpp include
from BlackoilWellModelNetwork_impl.hpp and the test file.
2026-02-19 20:17:33 +01:00
Bård Skaflestad b5bf6a5a57 Merge pull request #6845 from daavid00/warns
Fixing compilation warnings
2026-02-19 18:07:41 +01:00