Class : ClebschGordanCoefficients

ClebschGordanCoefficients :

prototype: ClebschGordanCoefficients (int , int j2 )

description:constructor


input parameters:
j1 = first angular momentum (twice the value to avoid half integer value)
j2 = second angular momentum (twice the value to avoid half integer value)



ClebschGordanCoefficients :

prototype: ClebschGordanCoefficients (const ClebschGordanCoefficients& coefficients )

description:copy constructor (without duplicating datas)


input parameters:
coefficients = reference on Clebsch Gordan coefficients to copy



~ClebschGordanCoefficients :

prototype: ~ClebschGordanCoefficients ()

description:destructor



operator = :

prototype: ClebschGordanCoefficients& operator = (const ClebschGordanCoefficients& coefficients )

description:assignment (without duplicating datas)


input parameters:
coefficients = reference on Clebsch Gordan coefficients to assign


return value: reference on current Clebsch Gordan coefficients



GetCoefficient :

prototype: double GetCoefficient (int , int , int j )

description:get a particular coefficient (without testing if m1, m2 and j are valid)


input parameters:
m1 = projection of first angular momentum
m2 = projection of second angular momentum
j = resulting angular momentum


return value: corresponding Clebsch Gordan coefficient



InitializeCoefficientIterator :

prototype: void InitializeCoefficientIterator (int , int m2 )

description:initial an iterator on all Clebsch Gordan coefficients for fixed m1 and m2 values


input parameters:
m1 = projection of first angular momentum
m2 = projection of second angular momentum



Iterate :

prototype: bool Iterate (int& , double& coefficient )

description:return next coefficient associated with current iterator (with increasing j value)


input parameters:
j = reference on integer where resulting angular momentum has to be stored
coefficient = reference on double where Clebsch Gordan coefficient has to be stored


return value: false if no coefficient has been returned



PrintCoefficient :

prototype: ostream& PrintCoefficient (ostream& , int , int , int j )

description:print a particular coefficient (without testing if m1, m2 and j are valid)


input parameters:
str = reference on output stream
m1 = projection of first angular momentum
m2 = projection of second angular momentum
j = resulting angular momentum


return value: reference on output stream



Back to index.