FFT usage
Posted: Wed May 15, 2019 12:15 pm
Is there any function within Code_Saturne which computes an FFT? Would it be possible to call it from a user subroutine?
Obviously it would be possible to write a custom FFT function into a user subroutine, likely overly long or inefficient in the process, but if it (or a library that contained an FFT) was already used elsewhere in the code, it might be nice to use.
(I have some existing code which could be interesting to use as a boundary condition or initial condition, and which is probably a bit "heavy" to write into a pre-processing script, but could be put as a user subroutine if an FFT existed.)
Obviously it would be possible to write a custom FFT function into a user subroutine, likely overly long or inefficient in the process, but if it (or a library that contained an FFT) was already used elsewhere in the code, it might be nice to use.
(I have some existing code which could be interesting to use as a boundary condition or initial condition, and which is probably a bit "heavy" to write into a pre-processing script, but could be put as a user subroutine if an FFT existed.)