← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2048: Fix typo (Scene::force vs. Scene::forces). Sorry. Thanks to Chiara for reporting.

 

------------------------------------------------------------
revno: 2048
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Tue 2010-02-23 15:03:02 +0100
message:
  Fix typo (Scene::force vs. Scene::forces). Sorry. Thanks to Chiara for reporting.
modified:
  pkg/dem/Engine/PartialEngine/TriaxialStressController.cpp


--
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/PartialEngine/TriaxialStressController.cpp'
--- pkg/dem/Engine/PartialEngine/TriaxialStressController.cpp	2010-02-23 12:39:54 +0000
+++ pkg/dem/Engine/PartialEngine/TriaxialStressController.cpp	2010-02-23 14:03:02 +0000
@@ -268,7 +268,7 @@
  */
 void TriaxialStressController::computeStressStrain(Scene* ncb)
 {
-	ncb->force.sync();
+	ncb->forces.sync();
 
 	State* p_bottom=Body::byId(wall_bottom_id,ncb)->state.get();
 	State* p_top=Body::byId(wall_top_id,ncb)->state.get();