2017-07-19 17:26:27 +03:00
|
|
|
|
Known bugs
|
|
|
|
|
===========
|
|
|
|
|
|
2018-05-13 03:04:18 +03:00
|
|
|
|
Wrong factor on B coefficient (single coeff version)
|
2018-04-26 06:11:09 +03:00
|
|
|
|
-----------------------------
|
2018-05-09 11:51:41 +03:00
|
|
|
|
(Probably fixed in the "calculator object" versions!)
|
2018-04-26 06:11:09 +03:00
|
|
|
|
Under Kristensson normalisation (with CS = -1), my code gives
|
|
|
|
|
B(1,0,n,n)/B(1,0,n,-n) == -(2n)! at (x,y,z) = (x,0,0)
|
|
|
|
|
(expected plus or minus 1).
|
|
|
|
|
A-coefficients seem to behave correctly.
|
2018-05-13 03:15:02 +03:00
|
|
|
|
BUT THE CSPHASE MIGHT BE WRONG ON BOTH SINGLE A AND B (TODO TEST)
|
2018-04-26 06:11:09 +03:00
|
|
|
|
|
2018-05-09 11:51:41 +03:00
|
|
|
|
Xu's antinormalisation
|
|
|
|
|
----------------------
|
|
|
|
|
"Xu's antinormalisation" is broken (most likely in legendre.c and maybe
|
|
|
|
|
also in qpms_types.h) – the plane wave test fails and the spherical wave
|
|
|
|
|
reconstruction as well (but the translation coefficients match the
|
|
|
|
|
Xu's tables).
|
|
|
|
|
|
2018-05-06 20:34:35 +03:00
|
|
|
|
Longitudinal waves
|
|
|
|
|
------------------
|
|
|
|
|
Plane wave decompositions gives wrong value on the longitudinal part.
|
|
|
|
|
The implementation of the L coefficients OR the longitudinal waves
|
|
|
|
|
is thus probably wrong.
|
|
|
|
|
|
2017-07-19 17:26:27 +03:00
|
|
|
|
Scattering result asymmetry
|
|
|
|
|
---------------------------
|
|
|
|
|
The lattice scattering code (such as finitesqlatzsym-scattery.py) produces
|
|
|
|
|
asymmetric results where one should not get them, due to the system symmetry.
|
|
|
|
|
|
|
|
|
|
It seems that the asymmetry appears mostly in the y-direction (i.e.
|
|
|
|
|
for example the scattering/absorption cross section at k = (kx, ky, kz)
|
|
|
|
|
is not exactly the same as k = (kx, -ky, kz).
|
|
|
|
|
|
|
|
|
|
What has been checked (hopefully):
|
|
|
|
|
- The flip operators for electric waves
|
|
|
|
|
- Some weird kind of rounding or other numerical error depending on
|
|
|
|
|
the position ordering of the matrix (randomized indices give
|
|
|
|
|
the same asymmetry).
|
|
|
|
|
|
|
|
|
|
What has not been checked (so well):
|
|
|
|
|
- The x,y,z-flip operators for magnetic waves (i.e. are they really
|
|
|
|
|
supposet to bejust the
|
|
|
|
|
same as the operators for electric waves, just with opposite sign?)
|
|
|
|
|
- zplane_pq_y
|
|
|
|
|
- the translation operators
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Singular value asymmetry
|
|
|
|
|
------------------------
|
|
|
|
|
Similar as the scattering result asymmetry, although not necessarily
|
|
|
|
|
only in the y-direction?
|
|
|
|
|
|
2018-04-25 16:08:55 +03:00
|
|
|
|
Overflows etc.
|
|
|
|
|
--------------
|
|
|
|
|
Assertion failed in gaunt_xu for test_vswf_translations.c and high values of LMAX
|
|
|
|
|
(LMAX=25)
|
|
|
|
|
|
2018-05-16 12:12:51 +03:00
|
|
|
|
Moreover, the non-normalized legendre functions that are used in translations.c
|
|
|
|
|
are likely to overflow for even smaller values of l.
|
|
|
|
|
Therefore TODO: modify translations.c in a way that uses normalised legendre functions everywhere.
|
2018-04-25 16:08:55 +03:00
|
|
|
|
|
2018-05-18 07:12:15 +03:00
|
|
|
|
Memory management
|
|
|
|
|
-----------------
|
|
|
|
|
When compiled with optimizations, I get stack smashing error in qpms_trans_calculator_get_2DFT_longrange_AB_arrays().
|