ARTS 2.5.11 (git: 725533f0)
|
Physical absorption routines. More...
#include "absorption.h"
#include "arts.h"
#include "arts_conversions.h"
#include "auto_md.h"
#include "file.h"
#include "linescaling.h"
#include "lineshape.h"
#include "logic.h"
#include "math_funcs.h"
#include "messages.h"
#include "partfun.h"
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include <map>
#include "global_data.h"
Go to the source code of this file.
Functions | |
void | checkPartitionFunctions (const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species) |
Check that ARTS was compiled for all requested species tags. | |
void | checkIsotopologueRatios (const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Species::IsotopologueRatios &isoratios) |
Check that isotopologue ratios for the given species are correctly defined. | |
Numeric | wavenumber_to_joule (Numeric e) |
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J). | |
void | set_vmr_from_first_species (Vector &vmr, const String &species_name, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &abs_vmrs) |
set_abs_from_first_species. | |
Physical absorption routines.
The absorption workspace methods are in file m_abs.cc
This is the file from arts-1-0, back-ported to arts-1-1.
Definition in file absorption.cc.
void checkIsotopologueRatios | ( | const ArrayOfArrayOfAbsorptionLines & | abs_lines_per_species, |
const Species::IsotopologueRatios & | isoratios | ||
) |
Check that isotopologue ratios for the given species are correctly defined.
Definition at line 44 of file absorption.cc.
References ARTS_USER_ERROR_IF.
Referenced by lbl_checkedCalc().
void checkPartitionFunctions | ( | const ArrayOfArrayOfAbsorptionLines & | abs_lines_per_species | ) |
Check that ARTS was compiled for all requested species tags.
Definition at line 33 of file absorption.cc.
References ARTS_USER_ERROR_IF, and PartitionFunctions::has_partfun().
Referenced by lbl_checkedCalc().
void set_vmr_from_first_species | ( | Vector & | vmr, |
const String & | species_name, | ||
const ArrayOfArrayOfSpeciesTag & | abs_species, | ||
const Matrix & | abs_vmrs | ||
) |
set_abs_from_first_species.
Returns vmr for the profile of the first tag group containing the given species.
[out] | vmr | Volume mixing ratio |
[in] | species_name | Species Name |
[in] | abs_species | WS Input |
[in] | abs_vmrs | WS Input |
Definition at line 84 of file absorption.cc.
References find_first_species().
Numeric wavenumber_to_joule | ( | Numeric | e | ) |
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).
This is used when reading HITRAN or JPL catalogue files, which have the lower state energy in cm^-1.
[in] | e | Energy in cm^-1. |
Definition at line 68 of file absorption.cc.
References Conversion::kaycm2joule().
Referenced by Absorption::ReadFromHitran2001Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), Absorption::ReadFromJplStream(), and Absorption::ReadFromLBLRTMStream().