hitran2refr  Richard J. Mathar, J. Opt. A: Pure Appl. Opt. 9 (2007) 470
molecule.h
Go to the documentation of this file.
1 #pragma once
2 
3 using namespace std ;
4 
5 #include <complex>
6 #include <iostream>
7 
8 #include "transition.h"
9 
10 // a specific isotope of a molecule
11 class molecule {
12 public:
13  transition *trans ; // vector of transition lines
14  int transcnt ; // size of 'trans' (number of entries)
15  int molec ; // HITRAN molecule number
16  int isot ; // HITRAN isotope number
17  double molmass; // HITRAN molar mass of the most abundant isotope
18  float murange[2]; // minimum and maximum line (micron)
19 
20  molecule(int molno=0) ;
21 
22  molecule(const char *fname, const string dir, int molno=0, int iso=1) ;
23 
24  void gnuplot(const double lowlim, const double hilim , ostream & out = cout) ;
25 
26  complex<double> Lorentz(const double lambda) const ;
27 
28 
29 
30 #ifdef USE_QOFT
31  void Qsum(double T) ;
32 #endif
33 
34  ~molecule() ;
35 
36 private:
37  static const double mmas[] ;
38 } ;
STL namespace.
Definition: molecule.h:11
double molmass
Definition: molecule.h:17
int isot
Definition: molecule.h:16
int transcnt
Definition: molecule.h:14
int molec
Definition: molecule.h:15
transition * trans
Definition: molecule.h:13
Definition: transition.h:27