← Back to team overview

yade-dev team mailing list archive

Re: bool MatchMaker

 





> Hi Bruno
>
> I think in terms of performance it might be better to keep MatchMaker in IP2 
> rather to add some in the Law functor. Further I think maybe we could get rid 
> of includeMoment=True/False in the Law functor.
>
> My suggestion is MatchMaker for eta, krot and ktwist. This makes as well more 
> sense if looking at the use of various materials. includeMoment can then be 
> set by the Ip2 functor (it can be an internal variable of the Ip2) by checking 
> if krot or ktwist are defined.
>
> What do you think about this suggestion? If you are happy I would try it?

Good suggestions. You are welcome to try it.

A "moment" flag in each interaction would be nice indeed. They would
have a default depending on material properties, and could be
manipulated globally, just like contact friction:
setContactMoment(True/False).

B



References