yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06783
Re: [Question #216109]: error in delete a particle
Question #216109 on Yade changed:
https://answers.launchpad.net/yade/+question/216109
Christian Jakob posted a new comment:
> u mean deleting particles will also delete interactions with it?
No, it means:
" deleting intrs SHOULD be done automatically ",
but unfortunately it does NOT (or not in every case)!
So until this bug has not been fixed, please use
for i in O.bodies[id].intrs():
O.interactions.erase(i.id1,i.id2)
before erasing a body (to be sure it works correctly).
cheers,
christian
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.