Open ronandrevon opened 3 years ago
Recurrence formula used for the implementation :
Explenation of the implemented matrix
Implementation of the legendre polynomes
Formula used to implement spherical harmonics
Implementation of the spherical harmonics
Verification of the implementation of the spherical harmonics :
For the computation of spherical harmonics with l=10, m=[-10;10] Using the recurrence formula : 0.004826784133911133 s Using python's function : 0.16061711311340332 s
For the computation of the total field Using the recurrence formula : 20.19532084465027 s Using python's function : 25.091874837875366 s
By implementing spherical harmonics using the legendre polynomials recurrence formula, the speed of the wave function computation should be improved.