#include <clebschgordan_lookup.h>
Auxiliary struct to be used as key in the look up table of Clebsch-Gordan coefficients.
It basically contains the input to retrieve one coefficient. Note that this is public since it is useful to be used from client code, e.g. in tests.
Definition at line 41 of file clebschgordan_lookup.h.
Public Member Functions | |
bool | operator== (const ThreeSpins &other) const |
Comparison operator between two set of spin information. More... | |
Public Attributes | |
int | j1 |
First isospin. More... | |
int | j2 |
Second isospin. More... | |
int | j3 |
Third isospin. More... | |
int | m1 |
z component of first isospin More... | |
int | m2 |
z component of second isospin More... | |
int | m3 |
z component of third isospin More... | |
Private Member Functions | |
auto | tied () const |
A utility function to avoid duplication in comparison operator(s). More... | |
|
inlineprivate |
A utility function to avoid duplication in comparison operator(s).
Note that in order to use auto
deduced returned type, this member has to be defined before using it.
Definition at line 57 of file clebschgordan_lookup.h.
|
inline |
Comparison operator between two set of spin information.
This is needed in order to use this object in a std::unordered_map
container.
other | The object to be compared to |
true
If all 6 spins value are identical false
otherwise Definition at line 68 of file clebschgordan_lookup.h.
int smash::ClebschGordan::ThreeSpins::j1 |
First isospin.
Definition at line 42 of file clebschgordan_lookup.h.
int smash::ClebschGordan::ThreeSpins::j2 |
Second isospin.
Definition at line 43 of file clebschgordan_lookup.h.
int smash::ClebschGordan::ThreeSpins::j3 |
Third isospin.
Definition at line 44 of file clebschgordan_lookup.h.
int smash::ClebschGordan::ThreeSpins::m1 |
z component of first isospin
Definition at line 45 of file clebschgordan_lookup.h.
int smash::ClebschGordan::ThreeSpins::m2 |
z component of second isospin
Definition at line 46 of file clebschgordan_lookup.h.
int smash::ClebschGordan::ThreeSpins::m3 |
z component of third isospin
Definition at line 47 of file clebschgordan_lookup.h.