------------------------------------------------------------
revno: 2167
committer: Chiara Modenese <c...@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);
 };

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to