![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Public Member Functions | |
| __init__ (self, CallbackInfo info, float tsim_start) | |
| advance (self, float t_model, int iter_count, float walltime) | |
| bool | should_trigger (self, float t_model, int iter_count, float walltime) |
| to_dict (self) | |
| from_dict (self, dict data) | |
Public Attributes | |
| info = info | |
| int | counter = 0 |
| next_tsim = min(candidates) if candidates else None | |
| int | next_iter_count = 0 if info.iter_count_interval is not None else None |
| float | next_walltime = 0.0 if info.walltime_interval is not None else None |
Definition at line 178 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.__init__ | ( | self, | |
| CallbackInfo | info, | ||
| float | tsim_start ) |
Definition at line 179 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.advance | ( | self, | |
| float | t_model, | ||
| int | iter_count, | ||
| float | walltime ) |
Definition at line 195 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.from_dict | ( | self, | |
| dict | data ) |
Definition at line 254 of file SimulationRunner.py.
| bool shamrock.utils.SimulationRunner.CallbackState.should_trigger | ( | self, | |
| float | t_model, | ||
| int | iter_count, | ||
| float | walltime ) |
Definition at line 220 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.to_dict | ( | self | ) |
Definition at line 246 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.counter = 0 |
Definition at line 181 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.info = info |
Definition at line 180 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.next_iter_count = 0 if info.iter_count_interval is not None else None |
Definition at line 192 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.next_tsim = min(candidates) if candidates else None |
Definition at line 190 of file SimulationRunner.py.
| shamrock.utils.SimulationRunner.CallbackState.next_walltime = 0.0 if info.walltime_interval is not None else None |
Definition at line 193 of file SimulationRunner.py.