8 #ifndef SRC_INCLUDE_CLEBSCHGORDAN_H_ 9 #define SRC_INCLUDE_CLEBSCHGORDAN_H_ 32 const int m_a,
const int m_b,
const int m_c);
102 I_min_ = std::max(std::abs(p_a.
isospin() - p_b.
isospin()), I_z_abs);
129 I_min_ = std::max(I_min_, std::abs(I_z));
133 class iterator :
public std::iterator<std::forward_iterator_tag, int> {
176 if (I_min_ > I_max_) {
185 #endif // SRC_INCLUDE_CLEBSCHGORDAN_H_
const iterator * operator++()
int isospin() const
Returns twice the isospin vector length .
bool operator==(const iterator &other)
int I_min_
Value of minimum total isospin.
bool operator!=(const iterator &other)
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_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...
Range of total isospin for reaction of particle a with particle b.
int I_max_
Value of maximum total isospin.
I_tot_range & parent_
Parent class giving the total isospin range.
Particle type contains the static properties of a particle species.
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 ...
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.
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 c_
Element of the iterator.
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 .
Iterator class for determination of total isospin.