pressure solver runs a fixed number of iterations now. Literature (and all cpu solvers) usually compute the norm of the residual and continue or stop depending on the error.
Computing that norm is a bit expensive for my gpu solver, but it's not outrageous. Could do it all every n iterations?
Hope is to speed up/slow down dynamically, be more stable for high quality video scenarios and get a better idea of the error in general
pressure solver runs a fixed number of iterations now. Literature (and all cpu solvers) usually compute the norm of the residual and continue or stop depending on the error. Computing that norm is a bit expensive for my gpu solver, but it's not outrageous. Could do it all every n iterations? Hope is to speed up/slow down dynamically, be more stable for high quality video scenarios and get a better idea of the error in general