← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2333: Let TriaxialStressController calculate sphereVolume for clumps correctly.

 

------------------------------------------------------------
revno: 2333
committer: Janek Kozicki <cosurgi@xxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-07-08 19:18:40 +0200
message:
  Let TriaxialStressController calculate sphereVolume for clumps correctly.
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-07-05 13:38:12 +0000
+++ pkg/dem/Engine/PartialEngine/TriaxialStressController.cpp	2010-07-08 17:18:40 +0000
@@ -100,7 +100,7 @@
 		{
 			if((*bi)->isClump()) continue;
 			const shared_ptr<Body>& b = *bi;
-			if ( b->isDynamic() )
+			if ( b->isDynamic() || b->isClumpMember() )
 			{
 				const shared_ptr<Sphere>& sphere =
 						YADE_PTR_CAST<Sphere> ( b->shape );


Follow ups