conservation-laws / ryujin

High-performance high-order finite element solver for hyperbolic conservation equations
https://conservation-laws.org
Other
103 stars 25 forks source link

`HyperbolicModule`: count timings of synchronization barriers correctly #132

Closed tamiko closed 2 months ago

tamiko commented 2 months ago

The logical or that we perform in order to synchronize the "restart_needed" boolean is indeed a synchronization barrier. We thus have to synchronization barriers in the explicit Euler step: one for figuring out tau max and one for figuring out whether something signaled a problem with the update step (and depending on policy we would need to restart).