|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Clebsch-Gordan coefficients indexed with doubled angular momenta. More...
#include <snap_cg.h>
Classes | |
| struct | Entry |
Public Member Functions | |
| ClebschGordanTable (int twojmax) | |
| double | coefficient (int j1, int m1, int j2, int m2, int j, int m) const |
Private Member Functions | |
| const Entry * | find (int j1, int m1, int j2, int m2, int j, int m) const |
Static Private Member Functions | |
| static bool | allowed (int j1, int m1, int j2, int m2, int j, int m) |
| static double | coefficient_uncached (int j1, int m1, int j2, int m2, int j, int m) |
| static double | factorial (int value) |
Private Attributes | |
| int | max_j_ |
| std::vector< Entry > | entries_ |
| std::map< std::tuple< int, int, int, int, int, int >, std::size_t > | entry_indices_ |
Clebsch-Gordan coefficients indexed with doubled angular momenta.
If the stored index is j, the physical angular momentum is j/2. The same convention is used for m and m'.
|
explicit |
|
staticprivate |
| double ModuleMD::SNAP::ClebschGordanTable::coefficient | ( | int | j1, |
| int | m1, | ||
| int | j2, | ||
| int | m2, | ||
| int | j, | ||
| int | m ) const |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |