yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03779
[Branch ~yade-dev/yade/trunk] Rev 2122: -One more initialisation in ctor (strain).
------------------------------------------------------------
revno: 2122
committer: Bruno Chareyre <bchareyre@r1arduina>
branch nick: trunk
timestamp: Wed 2010-03-31 20:56:05 +0200
message:
-One more initialisation in ctor (strain).
modified:
pkg/dem/Engine/PartialEngine/TriaxialStressController.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/PartialEngine/TriaxialStressController.hpp'
--- pkg/dem/Engine/PartialEngine/TriaxialStressController.hpp 2010-03-20 12:40:44 +0000
+++ pkg/dem/Engine/PartialEngine/TriaxialStressController.hpp 2010-03-31 18:56:05 +0000
@@ -160,7 +160,8 @@
// wall_id[i] = 0;
previousTranslation[i] = Vector3r::ZERO;
stiffness[i] = 0;
- normal[i] = Vector3r::ZERO;}
+ normal[i] = Vector3r::ZERO;
+ strain[i]=0}
for (int i=0; i<3; ++i) strain[i] = 0;
normal[wall_bottom].Y()=1;
normal[wall_top].Y()=-1;