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> {
Iterator class for determination of total isospin.
bool operator==(const iterator &other)
I_tot_range & parent_
Parent class giving the total isospin range.
bool operator!=(const iterator &other)
int c_
Element of the iterator.
iterator(int start, I_tot_range &parent)
Construct an iterator.
const iterator * operator++()
Range of total isospin for reaction of particle a with particle b.
int I_min_
Value of minimum total isospin.
I_tot_range(const ParticleType &p_a, const ParticleType &p_b)
Get the allowed range of total isospin for a collision a + b.
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.
int I_max_
Value of maximum total isospin.
Particle type contains the static properties of a particle species.
int isospin() const
Returns twice the isospin vector length .
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...
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.
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 .
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 ...