![]() |
(git:b77b4be)
|
Go to the source code of this file.
Data Structures | |
struct | rsh_coef_table_t |
Functions | |
double | libgrpp_spherical_to_cartesian_coef (int l, int m, int lx, int ly) |
double | libgrpp_evaluate_real_spherical_harmonic (int l, int m, const double *k) |
void | libgrpp_evaluate_real_spherical_harmonics_array (int l, const double *k, double *rsh_array) |
void | libgrpp_create_real_spherical_harmonic_coeffs_tables (int Lmax) |
rsh_coef_table_t * | libgrpp_get_real_spherical_harmonic_table (int L) |
double libgrpp_spherical_to_cartesian_coef | ( | int | l, |
int | m, | ||
int | lx, | ||
int | ly | ||
) |
For the given real spherical harmonic (RSH) S_lm calculates the coefficient C_{l,m}^{lx,ly,lz} before the unitary spherical polynomial (USP) in its expansion.
The formula is taken from: R. Flores-Moreno et al, J. Comput. Chem. 27, 1009 (2006) doi: 10.1002/jcc.20410 (formula 32)
Definition at line 124 of file grpp_spherical_harmonics.c.
double libgrpp_evaluate_real_spherical_harmonic | ( | const int | l, |
const int | m, | ||
const double * | k | ||
) |
Calculates value of the real spherical harmonic S_lm at the point k/|k| of the unit sphere.
Definition at line 178 of file grpp_spherical_harmonics.c.
void libgrpp_evaluate_real_spherical_harmonics_array | ( | const int | l, |
const double * | k, | ||
double * | rsh_array | ||
) |
Calculates values of the real spherical harmonic S_lm at the point k/|k| of the unit sphere for all m = -l, ..., +l
Definition at line 230 of file grpp_spherical_harmonics.c.
void libgrpp_create_real_spherical_harmonic_coeffs_tables | ( | int | Lmax | ) |
Constructs the set of tables with C_{l,m}^{lx,ly,lz} coefficients (up to maximum angular momentum Lmax). (pretabulation step)
Definition at line 60 of file grpp_spherical_harmonics.c.
rsh_coef_table_t * libgrpp_get_real_spherical_harmonic_table | ( | int | L | ) |
Access to the table for the angular momentum value L.
Definition at line 105 of file grpp_spherical_harmonics.c.