DEMutilities. CheckpointedSimulation

In order to be able to use this module import it like this:

import DEMutilities.CheckpointedSimulation
#or assign it to a shorter name
import DEMutilities.CheckpointedSimulation as cs

CheckpointedSimulation

class DEMutilities.CheckpointedSimulation.CheckpointedSimulation(*args, **kwargs)

Bases: mpacts.core.simulation.Simulation

CheckpointedSimulation(name, parent, **kwargs)
asimulation = None
is_loading()
load_an_array(loc, data)
load_contactdata(loc, data)
load_mode = 0
run_n(n)
run_until(t)
save(filename, force_overwrite=False)
save_a_cs(xxx_todo_changeme1)
save_a_pc(xxx_todo_changeme)
scan_for_state(checkfunc)

scans for all things that can contain state (currently PC’s and contactdatastorage)

DEMutilities.CheckpointedSimulation.add_old_simulation_symbols(mylocals)
DEMutilities.CheckpointedSimulation.load_simulation(filename)
DEMutilities.CheckpointedSimulation.prop_checker_cdb_(obj)
DEMutilities.CheckpointedSimulation.prop_checker_pc_(obj)