Question #702934 on Yade changed:
https://answers.launchpad.net/yade/+question/702934

Jan Stránský proposed the following answer:
>> Check if the pausing is due to the checkUnbalanced function called in the 
>> PyRunner.
> I don't think it's the mistake

here is no space for "think". Either it is due to checkUnbalanced or not.
Do not "think" (in this meaning = I have no idea and it is just my guess) and 
make an evidence.
Just check it, e.g. like:
###
def checkUnbalanced():
        if unbalancedForce() < .01:
                print("pausing from checkUnbalanced function!") # here
                O.pause()
###
You will find that the simulation is paused second time from the 
checkUnbalanced function.

> ... because in the previous simulation, it was all good.

OK, but now it is not "previous" any more and it is not all good.

Cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to