> can I register the variable _penetrationDepth_ in ScGeom class? So
> that people using this class can access that information directly
> through python..
Just
add .def_readwrite("penetrationDepth",&ScGeom::penerationDepth,"documentation")
to the PY block of YADE_CLASS_BASE_DOC_* as explained at the end of
https://www.yade-dem.org/sphinx/prog.html#yade-class-base-doc-macro-family
That way it will not be uselessly saved, but will be accessible.
Cheers, v.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp