22 doublereal Dv, doublereal Hv) : m_Bv(Bv),
25 m_dipole(dipoleMoment) {}
39 return jjp1*(m_Bv + jjp1*(m_Hv*jjp1 - m_Dv));
68 cutoff = (int)(3.0*sqrt(T/m_Bv));
70 doublereal dsum = 0.0, sum = 0.0;
71 for (j = 0; j < cutoff; j++) {
102 int dJ = J_upper - J_lower;
103 if (dJ > 1 || dJ < -1) {
Rotor()
Default Constructor.
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
doublereal intensity(int J_lower, int J_upper, doublereal T)
The spectral intensity of a rotational transition.
doublereal relPopulation(int J, doublereal T)
Ratio of the population of all states with rotational quantum number J to the ground state population...
int degeneracy(int J)
The number of quantum states with the same J.
doublereal wnum_to_J(doublereal w)
Convert from wavenumbers to Joules.
doublereal partitionFunction(doublereal T, int cutoff=-1)
The rotational partition function.
Header file for class Rotor.
doublereal energy_w(int J)
The energy of the level with rotational quantum number J, in wavenumber units.
doublereal frequency(int J_lower, int J_upper)
The frequency at which radiation is absorbed by a transition from the lower to the upper state in wav...
const doublereal Boltzmann
Boltzmann's constant [J/K].