 |
Version: SMASH-2.0
|
|
Go to the documentation of this file.
8 #ifndef SRC_INCLUDE_SMASH_CLEBSCHGORDAN_H_
9 #define SRC_INCLUDE_SMASH_CLEBSCHGORDAN_H_
32 const int m_a,
const int m_b,
const int m_c);
61 const ParticleType &p_b,
62 const ParticleType &p_c,
63 const ParticleType &Res);
78 const ParticleType &p_b,
79 const ParticleType &p_c,
80 const ParticleType &p_d,
133 class iterator :
public std::iterator<std::forward_iterator_tag, int> {
185 #endif // SRC_INCLUDE_SMASH_CLEBSCHGORDAN_H_
I_tot_range & parent_
Parent class giving the total isospin range.
int c_
Element of the iterator.
I_tot_range(const ParticleType &p_a, const ParticleType &p_b)
Get the allowed range of total isospin for a collision a + b.
double isospin_clebsch_gordan_sqr_2to2(const ParticleType &p_a, const ParticleType &p_b, const ParticleType &p_c, const ParticleType &p_d, const int I=-1)
Calculate the squared isospin Clebsch-Gordan coefficient for a 2-to-2 reaction A + B -> C + D.
iterator(int start, I_tot_range &parent)
Construct an iterator.
int I_max_
Value of maximum total isospin.
int isospin() const
Returns twice the isospin vector length .
bool operator==(const iterator &other)
Range of total isospin for reaction of particle a with particle b.
int I_min_
Value of minimum total isospin.
const iterator * operator++()
double isospin_clebsch_gordan_sqr_3to1(const ParticleType &p_a, const ParticleType &p_b, const ParticleType &p_c, const ParticleType &Res)
Calculate the squared isospin Clebsch-Gordan coefficient for three particles p_a, p_b and p_c couplin...
I_tot_range(const ParticleType &p_a, const ParticleType &p_b, const ParticleType &p_c, const ParticleType &p_d)
Get the allowed range of total isospin for a collision a + b <-> c + d.
Iterator class for determination of total isospin.
double isospin_clebsch_gordan_sqr_2to1(const ParticleType &p_a, const ParticleType &p_b, const ParticleType &Res)
Calculate the squared isospin Clebsch-Gordan coefficient for two particles p_a and p_b coupling to a ...
double clebsch_gordan(const int j_a, const int j_b, const int j_c, const int m_a, const int m_b, const int m_c)
Calculate Clebsch-Gordan coefficient .
bool operator!=(const iterator &other)