qsym2/angmom/mod.rs
1//! Angular momentum conversion and transformation.
2
3use phf::phf_map;
4
5pub mod sh_conversion;
6pub mod sh_rotation_3d;
7pub mod spinor_rotation_3d;
8
9/// Alphabetical labels of angular momenta.
10pub static ANGMOM_LABELS: [&str; 7] = ["S", "P", "D", "F", "G", "H", "I"];
11
12/// Indices of alphabetical labels of angular momenta.
13pub static ANGMOM_INDICES: phf::Map<&'static str, u32> = phf_map! {
14 "S" => 0,
15 "P" => 1,
16 "D" => 2,
17 "F" => 3,
18 "G" => 4,
19 "H" => 5,
20 "I" => 6,
21};