where is penetrationDepth?

Asked by 张文卿

When I read c++ code of ScGeom.hpp,I find this line YADE_CLASS_BASE_DOC_ATTRS_INIT_COTR_PY(ScGeom,GenericsSpheresContact,((Real,penetrationDepth,NaN,(Attr::noSave|Attr::readonly),...))...).
Where is the code of defining penetrationDepth?

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1

Hello,
penetration depth i computed (if this is what you mean by "defining") in
Ig2::go methods.
For example, for Ig2_Sphere_Sphere_ScGeom see [1], lines 37-39
cheers
Jan

[1]
https://github.com/yade/trunk/blob/master/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp

2016-09-04 14:13 GMT+02:00 张文卿 <email address hidden>:

> New question #381111 on Yade:
> https://answers.launchpad.net/yade/+question/381111
>
> When I read c++ code of ScGeom.hpp,I find this line
> YADE_CLASS_BASE_DOC_ATTRS_INIT_COTR_PY(ScGeom,
> GenericsSpheresContact,((Real,penetrationDepth,NaN,(Attr::
> noSave|Attr::readonly),...))...).
> Where is the code of defining penetrationDepth?
>
> --
> 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 address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
张文卿 (sandedadi) said :
#2

Thanks Jan Stránský, that solved my question.