8 #ifndef SRC_INCLUDE_SMASH_CLEBSCHGORDAN_H_
9 #define SRC_INCLUDE_SMASH_CLEBSCHGORDAN_H_
45 const ParticleType &p_b,
46 const ParticleType &p_c,
47 const ParticleType &Res);
62 const ParticleType &p_b,
63 const ParticleType &p_c,
64 const ParticleType &p_d,
static double coefficient(const int j_a, const int j_b, const int j_c, const int m_a, const int m_b, const int m_c)
Check in the Clebsch-Gordan lookup table if the requested coefficient is available.
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 difference_type
Required by STL: expose difference_type
int value_type
Required by STL: expose value_type
int & reference
Required by STL: expose reference
int c_
Element of the iterator.
iterator(int start, I_tot_range &parent)
Construct an iterator.
const iterator * operator++()
std::forward_iterator_tag iterator_category
Required by STL: expose iterator_category
int * pointer
Required by STL: expose pointer
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 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 ...