|
ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
|
Coordinates collective run termination and resource teardown. More...
#include "epilogue.hpp"
Static Public Member Functions | |
| static void | abnormal_end () |
| Release solver state and report an abnormal exit on the world root. | |
| static void | normal_end () |
| Write final diagnostics/checkpoints and release normal-run resources. | |
| static void | reset_run_is_complete_state_for_tests () |
| Reset cached completion state; intended only for isolated tests. | |
| static bool | run_is_complete (int step) |
| Decide collectively whether the main timestep loop must stop. | |
Coordinates collective run termination and resource teardown.
Epilogue is called by the top-level control loop after each step and at normal or exceptional termination. It combines physics-step, wall-clock, and external-stop criteria across MPI ranks, then closes diagnostics and solver resources in the order required before MPI/Kokkos finalization.
|
static |
Release solver state and report an abnormal exit on the world root.
|
static |
Write final diagnostics/checkpoints and release normal-run resources.
|
static |
Reset cached completion state; intended only for isolated tests.
|
static |
Decide collectively whether the main timestep loop must stop.
| [in] | step | Current global timestep. |