When the calculation process is accidentally interrupted, how to restart the calculation at the interrupted time?
I see method
pysph.solver.utils.load(fname) in the doc.
In example:
>>> data = load('elliptical_drop_100.npz')
>>> data.keys()
['arrays', 'solver_data']
>>> arrays = data['arrays']
>>> arrays.keys()
['fluid']
>>> fluid = arrays['fluid']
>>> type(fluid)
pysph.base.particle_array.ParticleArray
>>> data['solver_data']
{'count': 100, 'dt': 4.6416394784204199e-05, 't': 0.0039955855395528766}
Through load(), I can load the information of all particles and solver, but how should I get the simulation to work again?
Whether to reload create_particles () .And how to pass in the solver information?