cbcflow.core.restart module¶
Classes¶
- class cbcflow.core.restart.Restart(problem, postprocessor, restart_time, restart_timestep)¶
Bases: object
Class to specify restart data. Searches within the given postprocessors casedir for solution data to find a suitable timestep to restart from, based on the parameters restart_time or restart_timestep.
Overwrites problem.initial_conditions with solution loaded from file and sets problem.params.T0. Handles postprocessing to avoid overwrite conflicts with existing data.