Smoke: another 10-20% speed gain due to CG (conjugate gradient) improvements

This commit is contained in:
Daniel Genrich 2009-08-06 22:28:55 +00:00
parent cb7ebe5879
commit 85c343c049

@ -407,7 +407,9 @@ void FLUID_3D::project()
xright - xleft +
yup - ydown +
ztop - zbottom );
_pressure[index] = 0.0f;
// DG: commenting this helps CG to get a better start, 10-20% speed improvement
// _pressure[index] = 0.0f;
}
copyBorderAll(_pressure);