← Back to team overview

yade-users team mailing list archive

Re: [Question #699796]: Delete interaction

 

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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Przemek,

I think that this should be enough[1]:

O.interactions.erase(id1,id2)

This option removes 'geom' and 'phys' properties. Also changes 'isReal'
to false. In such a case, the collider should remove potential (not
real) interaction [2]. However, if the particles are overlapping or
something the interaction may be created in the next loop.

Cheers,
Karol

[1] https://answers.launchpad.net/yade/+question/151859
[2] https://yade-dem.org/doc/prog.html?#handling-interactions

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.