yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03562
[Branch ~yade-dev/yade/trunk] Rev 2068: - correction of thickness computation in TriaxialStressController - submission of an updated vers...
------------------------------------------------------------
revno: 2068
committer: Luc Scholtes <sch50p@fluent-ph>
branch nick: trunk
timestamp: Wed 2010-03-10 09:29:12 +1000
message:
- correction of thickness computation in TriaxialStressController - submission of an updated version of cohesiveFrictionalContactLaw called cohesiveFrictionalPM (more details in CohesiveFrictionalPM.hpp). Tried to follow the new rules for variables declaration with documentation...
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-03-09 08:48:38 +0000
+++ pkg/dem/Engine/PartialEngine/TriaxialStressController.cpp 2010-03-09 23:29:12 +0000
@@ -163,7 +163,7 @@
// sync thread storage of ForceContainer
ncb->forces.sync();
- if(thickness<0) thickness=YADE_PTR_CAST<Box>(Body::byId(wall_bottom_id,ncb)->shape)->extents.Y();
+ if(thickness<0) thickness=2.0*YADE_PTR_CAST<Box>(Body::byId(wall_bottom_id,ncb)->shape)->extents.Y();
State* p_bottom=Body::byId(wall_bottom_id,ncb)->state.get();
State* p_top=Body::byId(wall_top_id,ncb)->state.get();