yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #07478
[Branch ~yade-dev/yade/trunk] Rev 2822: - cell volume update was disabled -> enable again
------------------------------------------------------------
revno: 2822
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
branch nick: yade
timestamp: Mon 2011-04-18 20:10:20 +0200
message:
- cell volume update was disabled -> enable again
modified:
pkg/dem/FlowEngine.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/FlowEngine.cpp'
--- pkg/dem/FlowEngine.cpp 2011-04-08 11:15:34 +0000
+++ pkg/dem/FlowEngine.cpp 2011-04-18 18:10:20 +0000
@@ -473,8 +473,9 @@
}
dVol=cell->info().volumeSign*(newVol - cell->info().volume());
eps_vol_max = max(eps_vol_max, abs(dVol/newVol));
+
cell->info().dv() = (!cell->info().Pcondition)?dVol*invDeltaT:0;
-// cell->info().volume() = newVol;
+ cell->info().volume() = newVol;
// if (Debug) cerr<<"v/dv : "<<cell->info().volume()<<" "<<cell->info().dv()<<" ("<<cell->info().fictious()<<")"<<endl;
}
}