IsotopeRecord Class Reference

Contains the lookup data for one isotope. More...

#include <absorption.h>

List of all members.

Public Member Functions

 IsotopeRecord ()
 Default constructor.
 IsotopeRecord (const IsotopeRecord &x)
 Copy constructor.
 IsotopeRecord (const String &name, const Numeric &abundance, const Numeric &mass, const Index &mytrantag, const Index &hitrantag, const MakeArray< Index > &jpltags)
 Constructor that sets the values.
const StringName () const
 Isotope name.
const NumericAbundance () const
 Normal abundance ( = isotopic ratio).
const NumericMass () const
 Mass of the isotope.
const IndexMytranTag () const
 MYTRAN2 tag numers for all isotopes.
const IndexHitranTag () const
 HITRAN-96 tag numers for all isotopes.
const ArrayOfIndexJplTags () const
 JPL tag numbers for all isotopes.
void SetPartitionFctCoeff (const ArrayOfNumeric &qcoeff)
Numeric CalculatePartitionFctRatio (Numeric reference_temperature, Numeric actual_temperature) const
 Calculate partition function ratio.

Private Member Functions

Numeric CalculatePartitionFctAtTemp (Numeric temperature) const

Private Attributes

String mname
Numeric mabundance
Numeric mmass
Index mmytrantag
Index mhitrantag
ArrayOfIndex mjpltags
ArrayOfNumeric mqcoeff


Detailed Description

Contains the lookup data for one isotope.

Author:
Stefan Buehler

Definition at line 168 of file absorption.h.


Constructor & Destructor Documentation

IsotopeRecord::IsotopeRecord (  )  [inline]

Default constructor.

Needed by make_array.

Definition at line 172 of file absorption.h.

IsotopeRecord::IsotopeRecord ( const IsotopeRecord x  )  [inline]

Copy constructor.

We need this, since operator= does not work correctly for Arrays. (Target Array has to be resized first.)

Definition at line 176 of file absorption.h.

IsotopeRecord::IsotopeRecord ( const String name,
const Numeric abundance,
const Numeric mass,
const Index mytrantag,
const Index hitrantag,
const MakeArray< Index > &  jpltags 
) [inline]

Constructor that sets the values.

Definition at line 186 of file absorption.h.


Member Function Documentation

const String& IsotopeRecord::Name (  )  const [inline]

Isotope name.

Definition at line 214 of file absorption.h.

const Numeric& IsotopeRecord::Abundance (  )  const [inline]

Normal abundance ( = isotopic ratio).

(Absolute number.)

Definition at line 216 of file absorption.h.

const Numeric& IsotopeRecord::Mass (  )  const [inline]

Mass of the isotope.

(In unified atomic mass units u) If I understand this correctly this is the same as g/mol.

Definition at line 219 of file absorption.h.

const Index& IsotopeRecord::MytranTag (  )  const [inline]

MYTRAN2 tag numers for all isotopes.

-1 means not included.

Definition at line 221 of file absorption.h.

const Index& IsotopeRecord::HitranTag (  )  const [inline]

HITRAN-96 tag numers for all isotopes.

-1 means not included.

Definition at line 223 of file absorption.h.

const ArrayOfIndex& IsotopeRecord::JplTags (  )  const [inline]

JPL tag numbers for all isotopes.

Empty array means not included. There can be more than one JPL tag for an isotopic species, because in JPL different vibrational states have different tags.

Definition at line 227 of file absorption.h.

void IsotopeRecord::SetPartitionFctCoeff ( const ArrayOfNumeric qcoeff  )  [inline]

Definition at line 229 of file absorption.h.

Numeric IsotopeRecord::CalculatePartitionFctRatio ( Numeric  reference_temperature,
Numeric  actual_temperature 
) const [inline]

Calculate partition function ratio.

This computes the partition function ratio Q(Tref)/Q(T).

Unfortunately, we have to recalculate also Q(Tref) for each spectral line, because the reference temperatures can be different!

Parameters:
reference_temperature The reference temperature.
actual_temperature The actual temperature.
Returns:
The ratio.

Definition at line 247 of file absorption.h.

Numeric IsotopeRecord::CalculatePartitionFctAtTemp ( Numeric  temperature  )  const [private]

Definition at line 48 of file absorption.cc.


Member Data Documentation

Definition at line 271 of file absorption.h.

Definition at line 272 of file absorption.h.

Definition at line 273 of file absorption.h.

Definition at line 274 of file absorption.h.

Definition at line 275 of file absorption.h.

Definition at line 276 of file absorption.h.

Definition at line 277 of file absorption.h.


The documentation for this class was generated from the following files:

Generated on Wed Feb 4 08:17:31 2009 for ARTS by  doxygen 1.5.6