------------------------------------------------------------
revno: 3451
committer: cyuanLaptop <[email protected]>
timestamp: Sun 2014-09-21 13:45:19 +0200
message:
-change debugOut
modified:
pkg/pfv/UnsaturatedEngine.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/pfv/UnsaturatedEngine.cpp'
--- pkg/pfv/UnsaturatedEngine.cpp 2014-09-11 16:50:26 +0000
+++ pkg/pfv/UnsaturatedEngine.cpp 2014-09-21 11:45:19 +0000
@@ -398,14 +398,14 @@
if(solver->debugOut) {cout<<"----updateReservoirs1.initAirReservoirBound----"<<endl;}
for (FlowSolver::VCellIterator it = solver->boundingCells[2].begin(); it != solver->boundingCells[2].end(); it++) {
- cerr<< "iterating on "<<bool((*it)==NULL)<<endl;
+ if(solver->debugOut) cerr<< "iterating on "<<bool((*it)==NULL)<<endl;
if ((*it)==NULL or (*it)->info().index == 0) continue;
waterReservoirRecursion(*it);
}
if(solver->debugOut) {cout<<"----updateReservoirs1.waterReservoirRecursion----"<<endl;}
for (FlowSolver::VCellIterator it = solver->boundingCells[3].begin(); it != solver->boundingCells[3].end(); it++) {
- cerr<< "iterating(2) on "<<bool((*it)==NULL)<<endl;
+ if(solver->debugOut) cerr<< "iterating(2) on "<<bool((*it)==NULL)<<endl;
if ((*it)==NULL or (*it)->info().index == 0) continue;
airReservoirRecursion(*it);
}
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp