------------------------------------------------------------ revno: 2822 committer: Bruno Chareyre <bruno.chare...@hmg.inpg.fr> 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; } }
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp