I tried the script and didn't find the problem. It needs more runs maybe. But first, could you explain how you use the function (in a periodic engine/ live typing/a command in the script)? It would help understanding what happens.
Bruno On 06/10/11 07:53, Klaus Thoeni wrote: > Hi Anton, > > I tired it already (I know this issue), still the same behaviour. And now > actually I got zero for Bruno's branch as well. Very strange :-( > Not sure what the problem is. Would be great if someone could try if he/she > gets the same behaviour. > > Thanks, > Klaus > > On Thu, 6 Oct 2011 04:30:53 PM Anton Gladky wrote: >> Hi Klaus, >> try to start your script with -j1 option. >> There are sometimes some issues with "numerical" error in multi-thread >> mode. >> >> Anton >> >> On Thu, Oct 6, 2011 at 6:40 AM, Klaus Thoeni <klaus.tho...@gmail.com> wrote: >>> Hi guys, >>> >>> I just wanted to use the function unbalancedForce in one of my scripts. >>> And look what is happening: running the same simulation several times >>> after each other gives different results for the unbalancedForce. Well >>> either some values which seem all right or just zero. The script I used >>> is: >>> examples/WireMatPM/wirecontacttest.py >>> >>> Even using different computers and different versions of yade gives this >>> problem. However, it doesn't happen all the time. It seems like you have >>> to try several times to get the wrog value (which is zero) for >>> unbalancedForce and if I use Bruno's collide2 branch it seems to work >>> all the time. >>> >>> So I don't know if it is a problem with my script or a problem of the >>> current trunk version. Can anyone reproduce this problem? >>> >>> Thanks >>> Klaus >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~yade-dev >>> Post to : yade-dev@lists.launchpad.net >>> Unsubscribe : https://launchpad.net/~yade-dev >>> More help : https://help.launchpad.net/ListHelp >> _______________________________________________ >> Mailing list: https://launchpad.net/~yade-dev >> Post to : yade-dev@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~yade-dev >> More help : https://help.launchpad.net/ListHelp > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : yade-dev@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp > -- _______________ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP 11, rue des Mathématiques BP 46 38402 St Martin d'Hères, France Tél : +33 4 56 52 86 21 Fax : +33 4 76 82 70 43 ________________ _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp