yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11434
[Branch ~yade-pkg/yade/git-trunk] Rev 3430: -clean some info in debug
------------------------------------------------------------
revno: 3430
committer: Chao Yuan <chaoyuan2012@xxxxxxxxx>
timestamp: Mon 2014-06-16 10:13:21 +0200
message:
-clean some info in debug
modified:
core/InteractionContainer.cpp
pkg/dem/GlobalStiffnessTimeStepper.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 'core/InteractionContainer.cpp'
--- core/InteractionContainer.cpp 2014-06-04 08:51:38 +0000
+++ core/InteractionContainer.cpp 2014-06-16 08:13:21 +0000
@@ -59,7 +59,7 @@
const shared_ptr<Body>& b1((*bodies)[id1]);
const shared_ptr<Body>& b2((*bodies)[id2]);
- LOG_DEBUG("InteractionContainer erase intrs id1=" << id1 << " id2=" << id2);
+// LOG_DEBUG("InteractionContainer erase intrs id1=" << id1 << " id2=" << id2);
int linIx=-1;
if(!b1) linIx=linPos;
else {
@@ -67,7 +67,7 @@
if(I==b1->intrs.end()) linIx=linPos;
else {
linIx=I->second->linIx;
- LOG_DEBUG("InteractionContainer linIx=" << linIx << " linPos=" << linPos);
+// LOG_DEBUG("InteractionContainer linIx=" << linIx << " linPos=" << linPos);
assert(linIx==linPos);
//erase from body, we also erase from linIntrs below
b1->intrs.erase(I);
=== modified file 'pkg/dem/GlobalStiffnessTimeStepper.cpp'
--- pkg/dem/GlobalStiffnessTimeStepper.cpp 2014-05-23 13:05:19 +0000
+++ pkg/dem/GlobalStiffnessTimeStepper.cpp 2014-06-16 08:13:21 +0000
@@ -130,9 +130,9 @@
scene->dt=previousDt;
computedOnce = true;}
else if (!computedOnce) scene->dt=defaultDt;
- LOG_INFO("computed timestep " << newDt <<
- (scene->dt==newDt ? string(", applied") :
- string(", BUT timestep is ")+boost::lexical_cast<string>(scene->dt))<<".");
+// LOG_INFO("computed timestep " << newDt <<
+// (scene->dt==newDt ? string(", applied") :
+// string(", BUT timestep is ")+boost::lexical_cast<string>(scene->dt))<<".");
}
void GlobalStiffnessTimeStepper::computeStiffnesses(Scene* rb){