fixed: need to sync adjusted timestep across processes in parallel

This commit is contained in:
Arne Morten Kvarving 2024-12-19 09:59:28 +01:00
parent 78c6033ab4
commit 644a7f2616

View File

@ -367,6 +367,7 @@ public:
return wg_events.hasEvent(name, ScheduleEvents::REQUEST_OPEN_WELL);
});
wcycle_time_step = this->grid().comm().min(wcycle_time_step);
if (dt != wcycle_time_step) {
this->adaptiveTimeStepping_->updateNEXTSTEP(wcycle_time_step);
return true;