forked from bartvdbraak/blender
Smoke: another 10-20% speed gain due to CG (conjugate gradient) improvements
This commit is contained in:
parent
cb7ebe5879
commit
85c343c049
@ -407,7 +407,9 @@ void FLUID_3D::project()
|
|||||||
xright - xleft +
|
xright - xleft +
|
||||||
yup - ydown +
|
yup - ydown +
|
||||||
ztop - zbottom );
|
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);
|
copyBorderAll(_pressure);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user