← Back to team overview

yade-dev team mailing list archive

Re: read-only attribute

 


Hi (Vaclav)
How to add a read-only attrubute to a class in order to I can read it from python?
I want to read a facet's normal vector from python.


And more, how to ensuse one-way normals on faceted surface?
I want to calc force on it, but if the normals mixed inner and outer, it can be problem...

--

Best regards,

Sergei Dorofeenko,
Cand. Phys.-Mat. Sci.

Institute of Problems of Chemical Physics,
Chernogolovka, Moscow region, Russia.

e-mail: dorofeenko@xxxxxxxxx





Follow ups

References