← Documentation
ADS-IDAC Engine 5.0.0
AdsidacCallback.h
Go to the documentation of this file.
1
11
12#ifndef ADSIDACCALLBACK_H
13#define ADSIDACCALLBACK_H
14
16
24public:
25 // ---- SolverCallback interface ----
26
40 void onEvaluationPoint(ThermalHydraulicSolver& solver) override;
41
44 void onScenarioStart(ThermalHydraulicSolver& solver) override;
45
53 void onFirstInit(ThermalHydraulicSolver& solver) override;
54
56 void onTimestepAction(ThermalHydraulicSolver& solver) override;
57
70 void onBranchingPoint(ThermalHydraulicSolver& solver) override;
71
72 // ---- Restart management (called from main loop / onEvaluationPoint) ----
73
87
104};
105
106#endif // ADSIDACCALLBACK_H
Abstract interface for thermal-hydraulic solvers and solver callbacks.
ADS-IDAC engine's implementation of SolverCallback.
void onBranchingPoint(ThermalHydraulicSolver &solver) override
Hand the branches of the newest branch point to the MPI scheduler.
void onScenarioStart(ThermalHydraulicSolver &solver) override
Update plant parameter values, initialize the control panel and refresh the support-system display st...
void onFirstInit(ThermalHydraulicSolver &solver) override
Read the input files of every engine module and initialize them.
void initiationForRestart(ThermalHydraulicSolver &solver)
Restore the C++ simulation state for the branch about to run.
void onTimestepAction(ThermalHydraulicSolver &solver) override
No-op: the engine has no timestep-level actions.
void onEvaluationPoint(ThermalHydraulicSolver &solver) override
One engine cycle at an evaluation point.
void restartForNewSequence(ThermalHydraulicSolver &solver)
Serial path: find the next unexplored branch and prepare its restart.
Callback interface that the engine implements to receive notifications from the solver.
Abstract interface for thermal-hydraulic solvers.