spin_q_num Function

public elemental function spin_q_num(spin_momentum) result(res)

Return the spin quantum number for a given angular momentum.

Solves the equation for .

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: spin_momentum

The spin angular momentum.

Return Value real(kind=dp)


Contents