yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23032
[Question #690684]: definition of iphys in the .hpp file related to a contact law
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.