← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2006: initRun=true added to ForceRecorder

 

------------------------------------------------------------
revno: 2006
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-02-03 16:24:59 +0100
message:
  initRun=true added to ForceRecorder
modified:
  pkg/dem/Engine/GlobalEngine/ForceRecorder.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/Engine/GlobalEngine/ForceRecorder.hpp'
--- pkg/dem/Engine/GlobalEngine/ForceRecorder.hpp	2010-02-03 14:55:04 +0000
+++ pkg/dem/Engine/GlobalEngine/ForceRecorder.hpp	2010-02-03 15:24:59 +0000
@@ -7,7 +7,7 @@
 		Vector3r totalForce;
 		virtual void action(Scene*);
 	YADE_CLASS_BASE_DOC_ATTRDECL_CTOR_PY(ForceRecorder,Recorder,"Engine saves the resulting force affecting to Subscribed bodies. For instance, can be useful for defining the forces, which affect to _buldozer_ during its work.",
-	((std::vector<int>,subscribedBodies,,"Lists of bodies whose state will be measured")),,);
+	((std::vector<int>,subscribedBodies,,"Lists of bodies whose state will be measured")),initRun=true;,);
 	DECLARE_LOGGER;
 };