New question #690684 on Yade:
https://answers.launchpad.net/yade/+question/690684

Hello,

I try to understand the way we can implement the definition of iPhys of a 
contact law.
I take example on CpmPhys 
(https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/ConcretePM.hpp#L138).
The goal is to store in iPhys the relevant parameters of a given interaction.

I don't understand why certain parameters are declared with simple brakets: 
https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/ConcretePM.hpp#L163

why other parameters are declared with  .def prefix as in 
https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/ConcretePM.hpp#L202

and others with .def_readonly


thank you for the explanations,
Best

F.


-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to