Håkon Hægland
fe6b508b28
Fix reservoir coupling sync to only occur on first substep
...
The master-slave synchronization code in beginTimeStep() was executing
on every internal substep within a "sync" timestep. This is incorrect
because:
1. The SubStepIteration loop typically splits a sync timestep into
multiple smaller internal substeps for numerical stability
2. After the first internal substep, master and slaves are at different
simulation times and cannot exchange data correctly
3. Repeated sync attempts would cause deadlocks or incorrect data
This fix adds an isFirstSubstepOfSyncTimestep flag to track whether we
are at the start of a coordinated "sync" timestep. The flag is:
- Set to true before each SubStepIteration::run() call
- Cleared to false after the first runSubStep_() returns
2026-01-14 17:10:40 +01:00
..
2025-12-21 14:20:51 +01:00
2025-05-30 08:01:22 +02:00
2025-10-02 10:22:55 +02:00
2026-01-14 17:10:40 +01:00
2026-01-03 16:30:09 +01:00
2025-12-21 14:20:51 +01:00
2025-12-01 06:06:04 +01:00
2025-12-02 12:15:33 +01:00
2025-09-02 10:19:36 +02:00
2025-10-29 15:52:25 +01:00
2025-12-23 10:33:28 +01:00
2025-12-20 05:30:36 +01:00
2025-11-28 08:03:55 +01:00
2025-11-28 08:03:55 +01:00
2025-12-12 18:17:52 +01:00
2025-12-05 08:25:16 +01:00
2025-12-10 13:51:47 +01:00
2025-12-10 13:51:47 +01:00
2025-12-12 18:17:52 +01:00
2025-09-02 10:19:36 +02:00
2025-10-02 10:22:55 +02:00
2025-09-02 10:19:36 +02:00
2025-09-02 10:19:36 +02:00
2025-09-02 10:19:36 +02:00
2025-09-02 10:19:36 +02:00
2025-01-10 09:38:35 +01:00
2024-08-19 13:09:42 +02:00
2024-04-17 11:12:40 +02:00
2025-02-19 14:30:46 +01:00
2025-11-28 08:03:55 +01:00
2025-11-28 08:03:55 +01:00
2025-09-02 10:19:36 +02:00
2025-09-02 10:19:36 +02:00
2025-12-02 12:15:33 +01:00
2025-09-02 10:19:36 +02:00
2025-12-08 23:39:47 +01:00
2025-12-08 23:39:47 +01:00
2025-12-08 23:39:47 +01:00
2025-12-08 23:39:47 +01:00
2025-12-05 09:22:25 +01:00
2025-09-02 10:19:36 +02:00
2025-12-05 09:22:25 +01:00
2025-11-19 12:43:46 +01:00
2025-10-02 10:22:55 +02:00
2025-11-28 08:03:55 +01:00
2025-09-02 10:19:36 +02:00
2025-12-20 05:30:36 +01:00
2025-12-20 05:30:36 +01:00
2026-01-12 22:56:14 +01:00
2025-12-22 17:23:24 +01:00
2026-01-02 15:10:53 +01:00
2025-12-21 14:20:51 +01:00
2025-12-20 05:30:36 +01:00
2025-12-20 05:30:36 +01:00
2025-04-16 15:27:43 +02:00
2024-12-20 09:23:23 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-10-02 10:22:55 +02:00
2025-09-02 10:19:36 +02:00
2025-10-02 10:22:55 +02:00
2025-11-28 11:25:12 +01:00
2025-10-02 10:22:55 +02:00
2025-10-02 10:22:55 +02:00
2025-09-12 09:38:04 +02:00
2025-09-02 10:19:36 +02:00
2025-10-15 13:27:02 +02:00
2025-10-15 13:27:02 +02:00
2024-08-20 11:36:24 +02:00
2024-05-22 10:51:07 +02:00
2024-08-20 11:08:34 +02:00
2024-12-18 16:35:13 +01:00
2024-12-11 15:34:36 +01:00
2024-12-11 15:34:36 +01:00
2025-10-09 23:15:33 +02:00
2025-09-12 09:38:04 +02:00
2025-11-18 18:22:18 +01:00
2025-11-18 18:22:18 +01:00
2024-05-22 09:48:07 +02:00
2025-09-04 08:51:04 +02:00
2025-09-08 11:54:45 +02:00
2025-02-04 10:15:35 +01:00
2025-02-04 10:15:35 +01:00
2025-09-02 10:19:36 +02:00
2025-09-02 10:19:36 +02:00
2025-02-19 14:30:46 +01:00
2025-02-06 11:34:44 +01:00
2024-08-19 13:09:42 +02:00
2024-04-17 11:12:40 +02:00
2025-12-09 11:46:04 +01:00
2025-12-09 11:46:04 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-11-21 17:57:47 +01:00
2025-11-21 17:57:47 +01:00
2025-11-20 10:37:48 +01:00
2025-10-02 10:22:55 +02:00
2025-11-03 11:08:25 +01:00
2025-11-21 12:55:26 +01:00
2025-11-24 10:35:55 +01:00
2025-11-24 10:35:55 +01:00
2025-12-21 14:20:51 +01:00
2026-01-09 11:35:11 +01:00
2025-10-28 12:06:02 +01:00
2025-10-02 10:22:55 +02:00
2024-08-19 13:09:42 +02:00
2024-05-21 17:01:30 +02:00
2024-08-19 13:09:42 +02:00
2025-10-02 10:22:55 +02:00
2025-09-08 11:54:45 +02:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-12-05 09:22:25 +01:00
2025-12-05 09:22:25 +01:00
2025-04-24 13:02:05 +02:00
2025-10-24 13:32:19 +02:00
2025-09-15 16:33:28 +02:00
2023-02-15 21:55:19 +01:00
2025-10-02 10:22:55 +02:00
2025-10-02 10:22:55 +02:00
2025-12-10 15:28:38 +01:00
2025-09-02 10:19:36 +02:00
2025-11-28 08:03:55 +01:00
2025-11-28 08:03:55 +01:00
2025-12-12 18:22:18 +01:00
2025-12-12 18:17:52 +01:00
Make wellhelpers::sumDistributedWellEntries work with other matrices than Dune::DynamicMatrix and add specialization for FieldMatrix<double,2,2>, FieldMatrix<double,3,3> and FieldMatrix<double,4,4> as well as FieldMatrix<float,2,2>, FieldMatrix<float,3,3> and FieldMatrix<float,4,4>
2024-11-21 16:12:59 +01:00
2025-09-16 11:20:00 +02:00
2026-01-08 14:41:13 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-12-12 18:17:52 +01:00
2025-10-02 10:22:55 +02:00
2025-10-09 10:05:10 +02:00
2025-09-12 09:38:04 +02:00
2025-11-21 12:55:26 +01:00
2024-08-19 13:23:59 +02:00
2024-05-22 15:21:37 +02:00
2025-12-09 11:46:04 +01:00
2025-09-17 08:34:32 +02:00
2025-09-04 09:21:21 +02:00
2025-09-02 10:19:36 +02:00
2025-03-04 10:54:47 +01:00
2025-09-02 10:19:36 +02:00
2025-09-02 10:19:36 +02:00