← Back to team overview

yade-users team mailing list archive

Re: [Question #556907]: Apply cohesive interaction on JCFpmMat

 

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

Bruno Chareyre proposed the following answer:
>no physical implications in the model when using neverErase=True?

Yes correct. In practice it should be used combined with another model
(e.g. capillary force model) which will effectively delete the
interactions when needed. Else it is a memory leak as you suggest, but
it may help bean counting.

There is a primitive implementation of callbacks in yade, they would be
used for triggering the type of counter you need for particular events
(creating/deleting interactions for instance) but I don't think they are
functional at the moment.

Alternatively, you could implement the counting in the Law2 functor
itself whenever something happen - an easy and quick solution.

Bruno

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