------------------------------------------------------------ revno: 3729 committer: Jerome Duriez <[email protected]> timestamp: Fri 2013-10-04 11:43:53 +0200 message: Correction of typo in comment modified: examples/jointedCohesiveFrictionalPM/identificationSpheresOnJoint.py
-- lp:yade https://code.launchpad.net/~yade-pkg/yade/git-trunk Your team Yade developers is subscribed to branch lp:yade. To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'examples/jointedCohesiveFrictionalPM/identificationSpheresOnJoint.py' --- examples/jointedCohesiveFrictionalPM/identificationSpheresOnJoint.py 2013-08-01 11:54:13 +0000 +++ examples/jointedCohesiveFrictionalPM/identificationSpheresOnJoint.py 2013-10-04 09:43:53 +0000 @@ -123,7 +123,7 @@ jointNormalRef=O.bodies[j.id2].mat.jointNormal3 else : continue facetCenter=O.bodies[j.id1].state.pos - #### seek for each sphere interacting with the identified sphere i.id2 + #### seek for each sphere interacting with the identified sphere j.id2 for n in O.interactions.withBody(j.id2) : if n.id1==j.id2 and isinstance(O.bodies[n.id2].shape,Sphere): facetSphereDir=(O.bodies[n.id2].state.pos-facetCenter)
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

