← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3917: Disable temporarly Cs calculation in SPH.

 

------------------------------------------------------------
revno: 3917
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Mon 2014-04-14 08:43:15 +0200
message:
  Disable temporarly Cs calculation in SPH.
modified:
  pkg/common/SPHEngine.cpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/common/SPHEngine.cpp'
--- pkg/common/SPHEngine.cpp	2014-04-09 14:03:16 +0000
+++ pkg/common/SPHEngine.cpp	2014-04-14 06:43:15 +0000
@@ -15,12 +15,14 @@
       b->press=k*(b->rho - b->rho0);
     } YADE_PARALLEL_FOREACH_BODY_END();
   }
+  /*
   {
     YADE_PARALLEL_FOREACH_BODY_BEGIN(const shared_ptr<Body>& b, scene->bodies){
       if(mask>0 && (b->groupMask & mask)==0) continue;
       this->calculateSPHCs(b);
     } YADE_PARALLEL_FOREACH_BODY_END();
   }
+  */
 }
 
 void SPHEngine::calculateSPHRho(const shared_ptr<Body>& b) {