yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03668
Simulation stops unexpectedly
Hi,
I have found, that my simulation stops sometimes unexpectedly. It stops,
does not crash.
The code in Engine section:
.....
.....
PeriodicPythonRunner(command='feedIsFinished()',iterPeriod=int(nFeed)),
.....
.....
Then:
def feedIsFinished():
#Here we delete Translation engine and not needed bodies
o.pause()
o.wait()
o.engines=o.engines[0:12]
for i in feedBodiesOnlyForDeleting:
O.bodies.erase(i)
o.run()
I pause simulation for a while, delete some engines, delete some bodies and
then start the simulation again.
In this step simulation sometimes terminates, not always, but it happens.
What do I do wrong?
Thanks ahead.
_____________________________
Anton Gladky
Follow ups