Commit Graph

17471 Commits

Author SHA1 Message Date
Tobias Meyer Andersen
2a7251efc5 change pointers to const references 2024-04-12 15:39:35 +02:00
Tobias Meyer Andersen
24ec3c25ff update prec factory test 2024-04-11 15:19:55 +02:00
Tobias Meyer Andersen
8177400602 clang-format PreconditionerFactory_impl 2024-04-11 15:09:09 +02:00
Tobias Meyer Andersen
3d9b3a3013 clang-format PreconditionerWIthUpdate 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
1685f928f7 add RebuildOnUpdate for single process preconditioners. Also refactor wrapPreconditioner to match type of wrapper 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
6cfe647c81 clean up and fix multiprocess RebuildOnUpdate wrapper 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
71d58afc0e Add a valid wrapper through OwningBlockPreconditioner that rebuiilds the preconditioner on updates. Still has excessive matrix copy and misses a wrapper function 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
6b73856fd9 update comments 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
df401e52b8 add jac smoother 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
6c0ee61d6f add ILUn smoother 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
fd6319fe38 add SSOR smoother 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
f6c539f819 add SOR smoother 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
b02e001ae3 add gs preconditioner for amg and kamg 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
030720f855 add dune ILU0 for multiprocess simulations 2024-04-11 15:07:17 +02:00
Tobias Meyer Andersen
8b5ab973e2 Add dune ILU when using only one process 2024-04-11 15:07:17 +02:00
Bård Skaflestad
006aa14fbd
Merge pull request #5263 from blattms/fix-dangling-references-test_LogOutHelper
[fix] Prevent dangling refernces in Logger for test_LogOutputHelper
2024-04-11 12:16:04 +02:00
Markus Blatt
d4ae595fd5 use fixtures for test_LogOutputHelper 2024-04-11 10:59:46 +02:00
Markus Blatt
4e9eed0acd [fix] Prevent dangling refernces in Logger for test_LogOutputHelper
In the test methods of the test suite we construct a new logger that
logs to a local stringstream. This logger will be stored in a static
map and hence live longer that the test method and the stringstream.

Some methods use Opm::Log::MessageType::Note, others
Opm::Log::MessageType::Warning for adding the loggging backend . There
is one map per MessageType and sometimes (e.g. previous method used Note
and this one uses Warning) we will log to the old logger with dangling
references.

This problem materialized in a segmentation fault on ppc64el architecture.
2024-04-11 09:44:40 +02:00
Bård Skaflestad
ee5ee7826f
Merge pull request #5250 from bska/region-level-udq
Prepare for Including Region Level Quantities in Field Level UDQs
2024-04-08 13:58:00 +02:00
Bård Skaflestad
ac9d6eaa34 Prepare for Including Region Level Quantities in Field Level UDQs
Meet the new UDQConfig::eval() API requirement by adding a matcher
factory for region-level summary vectors.
2024-04-08 09:04:22 +02:00
Bård Skaflestad
5f522cf172
Merge pull request #5247 from bska/expose-fipreg-statistics
Add Procedure for Calculating Basic FIP Region Statistics
2024-04-08 08:59:20 +02:00
Bård Skaflestad
10d2f52cd2 Add Procedure for Calculating Basic FIP Region Statistics
This commit implements the parallel version of

    EclipseState::computeFipRegionStatistics()

which computes a FIPRegionStatistics object for the current run's
fluid-in-place regions.  The object construction uses an MPI-aware
reduction process to compute the maximum region IDs across all MPI
ranks.

While here, also unconditionally form the statistics object as part
of the EclWriter's constructor to ensure that all ranks participate
in the process.  The initial approach of constructing the object on
first use is not robust in parallel.  We may however wish to compute
these statistics only when needed.  If so, that will be the subject
of follow-up work.
2024-04-05 17:06:13 +02:00
Bård Skaflestad
c2184219fa
Merge pull request #5276 from akva2/adjust_get_param_removal
adjust to removal of EWOMS_GET_PARAM
2024-04-05 17:04:18 +02:00
Arne Morten Kvarving
0161d69660 adjust to removal of EWOMS_GET_PARAM 2024-04-05 14:02:28 +02:00
Bård Skaflestad
a44b0f9d5a
Merge pull request #5275 from akva2/adjust_hide_param
adjust to Parameters::hideParam change
2024-04-05 14:01:12 +02:00
Arne Morten Kvarving
b8284fea9c adjust to Parameters::hideParam change 2024-04-05 12:56:38 +02:00
Bård Skaflestad
395bf6431b
Merge pull request #5272 from akva2/adjust_register_param_removal
Adjust to EWOMS_REGISTER_PARAM macro removal
2024-04-05 12:42:46 +02:00
Arne Morten Kvarving
6fba1a95c9 adjust to removal of EWOMS_REGISTER_PARAM 2024-04-05 12:24:48 +02:00
Arne Morten Kvarving
c8e26b8e35 adjust to parameter removal in Parameters::registerParam 2024-04-05 12:24:19 +02:00
Arne Morten Kvarving
fdab87d336
Merge pull request #5255 from BigDataAccelerate/fix_dep_rocm_ocl
Bug fix: remove dependencies for rocm & cuda on opencl to run block Jacobi ILU
2024-04-05 12:02:30 +02:00
Markus Blatt
ca71415297
Merge pull request #5266 from lisajulia/feature/pyAction-comparison-tests
Comparison tests for PYACTION
2024-04-04 19:40:25 +02:00
Bård Skaflestad
da8f5acdee
Merge pull request #5271 from akva2/adjust_hide_param_removal
adjust to EWOMS_HIDE_PARAM macro removal
2024-04-04 09:24:04 +02:00
Arne Morten Kvarving
21bc4c7f0d adjust to EWOMS_HIDE_PARAM macro removal 2024-04-04 08:18:19 +02:00
Bård Skaflestad
3334726871
Merge pull request #5270 from akva2/adjust_ewoms_param_is_set
adjust to EWOMS_PARAM_IS_SET macro removal
2024-04-03 21:47:52 +02:00
Bård Skaflestad
864a8d73da
Merge pull request #5269 from akva2/adjust_removal_end_param_registration
adjust to EWOMS_END_PARAM_REGISTRATION macro removal
2024-04-03 21:46:56 +02:00
Arne Morten Kvarving
46c3402eba adjust to EWOMS_PARAM_IS_SET macro removal 2024-04-03 19:54:45 +02:00
Arne Morten Kvarving
b4d2189bd2 adjust to EWOMS_END_PARAM_REGISTRATION macro removal 2024-04-03 16:18:39 +02:00
Lisa Julia Nebel
fb985298b2 Add tests that compare runs using the ACTIONX keyword to those that use the PYACTION keyword 2024-04-03 16:05:48 +02:00
Lisa Julia Nebel
6f7cc94da2 Add script to compare the summary files of two different simulator runs 2024-04-03 16:05:44 +02:00
Bård Skaflestad
2da4b8503e
Merge pull request #5265 from akva2/janitoring
BlackoilWellModel: header cleanup and some debug-iterator fixes
2024-04-03 15:17:53 +02:00
Bård Skaflestad
91c3100497
Merge pull request #5267 from akva2/fix_wbp_test_segfault
fixed: segfault due to taking a reference to temporary
2024-04-03 15:16:19 +02:00
Arne Morten Kvarving
bf83fab00d fixed: segfault due to taking a reference to temporary 2024-04-03 14:36:31 +02:00
Arne Morten Kvarving
ba96a94277 avoid derefing out-of-bounds if there are no alqs 2024-04-02 16:43:02 +02:00
Arne Morten Kvarving
cecedc1042 fixed: rate converter must be initialized early if WELLPI is enabled 2024-04-02 16:42:40 +02:00
Arne Morten Kvarving
ae60f0b640 BlackoilWellModel: header cleanup
add necessary headers, remove unused
2024-04-02 14:20:50 +02:00
Markus Blatt
1243148d38
Merge pull request #5264 from akva2/fix_oob_no_wells
fixed: out-of-bounds reference with no wells
2024-04-02 10:48:26 +02:00
Markus Blatt
4647d90f02
Merge pull request #5262 from GitPaean/removing_flowproblem_include
removing the including of FlowProblem in BlackoilWellModel
2024-04-02 10:32:11 +02:00
Arne Morten Kvarving
c263ae9b66 fixed: out-of-bounds reference with no wells 2024-04-01 21:34:42 +02:00
Kai Bao
29358ee70b removing the including of FlowProblem in BlackoilWellModel 2024-03-27 13:12:55 +01:00
Bård Skaflestad
1d758706df
Merge pull request #5246 from bska/max-regid-common
Switch to Using Declared Maximum Region IDs From Common
2024-03-26 13:51:42 +01:00