Differentiate ifft and ifft_as_destroy and use of const
Two possibilities:
-
Better docstrings. Right now the docstrings are the same for both methods. -
In C++ level, perhaps we could use const mycomplex *fieldK
for the first argument ofvoid FFT3DWithFFTW3D::ifft(mycomplex *fieldK, myreal *fieldX)
to guarantee that the array of the first argument is not modified. Also addconst
elsewhere if the array is meant to be read-only?