You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are use cases (e.g., checkpointing) where it might be useful to have a particular handler in the evaluator system not evaluate on the first iteration. As a positive, this change would reduce startup time and disk usage. As a negative, this change would lose the automatic recording of the initial conditions (but would be user controlled and default to false)
with a rough sketch of the implementation looking something like this:
classHandler:
<...>def__init__(self, dist, vars, group=None, wall_dt=None, sim_dt=None, iter=None, custom_schedule=None, skip_first_evaluation=None):
<...>ifskip_first_evaluation:
self.last_wall_div=np.infself.last_sim_div=np.infself.last_iter_div=np.infelse:
# Set initial divisors to be -1 to trigger output on first iterationself.last_wall_div=-1self.last_sim_div=-1self.last_iter_div=-1
The text was updated successfully, but these errors were encountered:
There are use cases (e.g., checkpointing) where it might be useful to have a particular handler in the evaluator system not evaluate on the first iteration. As a positive, this change would reduce startup time and disk usage. As a negative, this change would lose the automatic recording of the initial conditions (but would be user controlled and default to false)
Usage might go something like this:
with a rough sketch of the implementation looking something like this:
The text was updated successfully, but these errors were encountered: