ARTS 2.5.11 (git: 6827797f)
|
Declarations required for the calculation of absorption coefficients. More...
#include "species_tags.h"
#include "absorptionlines.h"
#include "array.h"
#include "energylevelmap.h"
#include "gridded_fields.h"
#include "jacobian.h"
#include "matpack_data.h"
#include "messages.h"
#include "mystring.h"
#include <array>
#include <cmath>
#include <limits>
#include <map>
#include <stdexcept>
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. | |
Declarations required for the calculation of absorption coefficients.
This is the file from arts-1-0, back-ported to arts-1-1.
Definition in file absorption.h.
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().