ARTS  2.4.0(git:4fb77825)
partition_function_data.cc File Reference

Coefficients for 3rd order polynomial of partition function in temperature, plus safety check. More...

#include "absorption.h"
#include "arts.h"

Go to the source code of this file.

Namespaces

 global_data
 

Some #defines for better readability

#define Qcoeff(...)    { __VA_ARGS__ }
 
void next_species (Array< SpeciesRecord >::iterator &is, Array< IsotopologueRecord >::iterator &ii, String name)
 Define partition function coefficients lookup data. More...
 
void iso (Array< IsotopologueRecord >::iterator &ii, String name, const ArrayOfNumeric &coeff, const ArrayOfNumeric &temp_range, const Index &coefftype)
 Initialize isotopologue and move iterator to next one. More...
 
void define_partition_species_data ()
 

Detailed Description

Coefficients for 3rd order polynomial of partition function in temperature, plus safety check.

This file contains the definition of this function and a safety check of the input. You have to add the coefficients of new species here, along with the new entry into the species_data (file species_data.cc) record, if you want to extend the capability of ARTS. These entries have to be in the same order, which is assured by check_q_data.

This is the file from arts-1-0, back-ported to arts-1-1.

Author
Axel von Engeln, C. Verdes,
Date
2000-08-21

Definition in file partition_function_data.cc.

Macro Definition Documentation

◆ Qcoeff

#define Qcoeff (   ...)     { __VA_ARGS__ }

Definition at line 68 of file partition_function_data.cc.

Function Documentation

◆ define_partition_species_data()

void define_partition_species_data ( )

Definition at line 188 of file partition_function_data.cc.

References iso(), next_species(), Qcoeff, and global_data::species_data.

Referenced by define_species_data().

◆ iso()

◆ next_species()

void next_species ( Array< SpeciesRecord >::iterator &  is,
Array< IsotopologueRecord >::iterator &  ii,
String  name 
)

Define partition function coefficients lookup data.

General Remarks

Advance iterators to first isotopologue of next species.

Definition at line 1722 of file partition_function_data.cc.

Referenced by define_partition_species_data().