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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,

If there are only two bodies O.forces.f(0) and O.interactions[0,1] should be 
the same.
Except that the first will not give an error when there is no interaction.

Alternatively, this boolean could help: 
O.interactions.has(0,1) 
Cheers
Bruno

-- 
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