yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04062
[Branch ~yade-dev/yade/trunk] Rev 2167: Make penetrationDepth directly accessible through python
------------------------------------------------------------
revno: 2167
committer: Chiara Modenese <chia@engs-018373>
branch nick: trunk
timestamp: Tue 2010-04-20 15:57:37 +0100
message:
Make penetrationDepth directly accessible through python
modified:
pkg/dem/DataClass/InteractionGeometry/ScGeom.hpp
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'pkg/dem/DataClass/InteractionGeometry/ScGeom.hpp'
--- pkg/dem/DataClass/InteractionGeometry/ScGeom.hpp 2010-04-04 22:05:37 +0000
+++ pkg/dem/DataClass/InteractionGeometry/ScGeom.hpp 2010-04-20 14:57:37 +0000
@@ -39,6 +39,7 @@
/* extra initializers */ ((radius1,GenericSpheresContact::refR1)) ((radius2,GenericSpheresContact::refR2)),
/* ctor */ createIndex();,
/* py */
+ .def_readwrite("penetrationDepth",&ScGeom::penetrationDepth,"documentation")
);
REGISTER_CLASS_INDEX(ScGeom,GenericSpheresContact);
};