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

    Status: Answered => Open

Jessica Soares da Rocha is still having a problem:
I’m so sorry for the script. I want to know how to calculate the total
force acting in a clump. I tried this script but it didn’t work:

def force():
        global force
        if O.iter>0.:
        i=6.
        forca=0.
        while i>5 and i<352:
        forca= forca +O.forces.f(i)[2]
        i=i+1
        return list(force)

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to