Calculating 2D scattering patterns from large optically soft particle (like biological cells in liquid) may result in the scattering-field calculation taking most of the time (since iterative solver converges in several iterations). Some clever ideas to optimize those calculations are given in #51 . However, the situation is even worse in OpenCL mode, since then the iterations (matrix-vector product) is GPU-accelerated, while scattered-fields calculation - not. The corresponding practical problems (extremely long run times) were reported by XiaoJun Kang.
So the goal of this issue is to extend the OpenCL mode to calculate the scattered fields on the GPU.
Calculating 2D scattering patterns from large optically soft particle (like biological cells in liquid) may result in the scattering-field calculation taking most of the time (since iterative solver converges in several iterations). Some clever ideas to optimize those calculations are given in #51 . However, the situation is even worse in OpenCL mode, since then the iterations (matrix-vector product) is GPU-accelerated, while scattered-fields calculation - not. The corresponding practical problems (extremely long run times) were reported by XiaoJun Kang.
So the goal of this issue is to extend the OpenCL mode to calculate the scattered fields on the GPU.