yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01967
[Branch ~yade-dev/yade/trunk] Rev 1750: Fix stupid error introduced when we have migrated to bex container
------------------------------------------------------------
revno: 1750
committer: Janek Kozicki <cosurgi@xxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2009-08-28 18:33:39 +0200
message:
Fix stupid error introduced when we have migrated to bex container
modified:
pkg/dem/Engine/StandAloneEngine/CohesiveFrictionalContactLaw.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/StandAloneEngine/CohesiveFrictionalContactLaw.cpp'
--- pkg/dem/Engine/StandAloneEngine/CohesiveFrictionalContactLaw.cpp 2009-08-19 12:00:35 +0000
+++ pkg/dem/Engine/StandAloneEngine/CohesiveFrictionalContactLaw.cpp 2009-08-28 16:33:39 +0000
@@ -238,10 +238,10 @@
// cerr << "shearForce " << shearForce << endl;
// cerr << "f= " << f << endl;
// it will be some macro( body->physicalActions, ActionType , bodyId )
- ncb->bex.addForce (id1, f);
- ncb->bex.addForce (id2,-f);
- ncb->bex.addTorque(id1, c1x.Cross(f));
- ncb->bex.addTorque(id2,-c2x.Cross(f));
+ ncb->bex.addForce (id1,-f);
+ ncb->bex.addForce (id2, f);
+ ncb->bex.addTorque(id1,-c1x.Cross(f));
+ ncb->bex.addTorque(id2, c2x.Cross(f));
///// /// Moment law ///
///// if(momentRotationLaw /*&& currentContactPhysics->cohesionBroken == false*/ )