FastNFT / FNFT

Fast numerical computation of (inverse) nonlinear Fourier transforms
https://fastnft.github.io/FNFT/
GNU General Public License v2.0
42 stars 12 forks source link

kdv_finvscatter #62

Closed wahls closed 3 years ago

PJ-Prins commented 3 years ago

Depending on the compiler (setting) I get up to 2 failed tests:

GCC-10, with FFTW

(...)/fnft__kdv_finvscatter_test_2split2_modal ; exit;
error = 5.69082e-16
error = 1.22657e-10
FNFT Error: Test failed.
 in kdv_finvscatter_test(66)-0.4.1
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

GCC-10, without FFTW

(...)/fnft__kdv_finvscatter_test_2split2_modal ; exit;
error = 9.5046e-16
FNFT Error: Test failed.
 in kdv_finvscatter_test(66)-0.4.1
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
(...)/fnft__nse_finvscatter_test_defocusing_2split2_modal ; exit;
error = 5.5565e-16
FNFT Error: Test failed.
 in nse_finvscatter_test(68)-0.4.1
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

clang, without FFTW

(...)/fnft__kdv_finvscatter_test_2split2_modal ; exit;
error = 9.72165e-16
FNFT Error: Test failed.
 in kdv_finvscatter_test(66)-0.4.1
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
(...)/fnft__nse_finvscatter_test_defocusing_2split2_modal ; exit;
error = 9.3999e-16
FNFT Error: Test failed.
 in nse_finvscatter_test(68)-0.4.1
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

(All tests pass in the case of clang with FFTW)

ShrinivasJC commented 3 years ago

I see some warnings while compiling the documentation

.../FNFT/include/private/fnft__akns_discretization.h:187: warning: unable to resolve link to `fnft_akns_discretization_t' for \link command

.../FNFT/include/private/fnft__kdv_finvscatter.h:33: warning: argument 'kappa' of command @param is not found in the argument list of fnft__kdv_finvscatter(const FNFT_UINT deg, FNFT_COMPLEX const transfer_matrix, FNFT_COMPLEX const q, const FNFT_REAL eps_t, const fnft_kdv_discretization_t discretization)

wahls commented 3 years ago

Thanks!