Better bounding on topo change

This commit is contained in:
Hrvoje Jasak 2015-09-11 16:08:23 +01:00
parent 5f6a39a46e
commit e411de9576

View file

@ -85,9 +85,9 @@ int main(int argc, char *argv[])
// Mesh motion update
if (meshChanged)
{
T = max(T, TMin);
p = max(p, pMin);
e = max(e, thermo.Cv()*TMin);
T.max(TMin);
p.max(pMin);
e == max(e, thermo.Cv()*TMin);
thermo.correct();
rho = thermo.rho();