April 2013
Real time visualization of 3D vector field with CUDA
7 Performance benchmark
7.1 Hardware
7.2 Comparison of Euler and RK4 integrators
After comparing results visually (see Figure 1), I had to admit that my friend was right. Euler tends to escape vortices even for very low time step values but RK4 does much better job. Interestingly enough, RK4 sometimes converge to the center of vortices instead of escaping them. I did not perform any measurement of the error because the visuals were enough for me to admit that RK4 does much better job than Euler.