NFFT / nfft

The official NFFT library repository
https://tu-chemnitz.de/~potts/nfft/
GNU General Public License v2.0
174 stars 45 forks source link

fastsum: Skip nearfield (pre-)computations when eps_I is zero #73

Closed tvolkmer closed 5 years ago

tvolkmer commented 6 years ago

For some kernels like e.g. gaussian, a near field regularization is not required in fastsum (near field size eps_I = 0) and consequently, the near field correction computations may be omitted. Currently, precomputations are still performed in this case.

Moreover, in case of NEARFIELD_BOXES, a division by zero occurs for eps_I = 0 in fastsum_init_guru_source_nodes.