ARTS 2.5.4 (git: 4c0d3b4d)
|
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 "matpackI.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. More... | |
void | checkIsotopologueRatios (const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Species::IsotopologueRatios &isoratios) |
Check that isotopologue ratios for the given species are correctly defined. More... | |
Numeric | wavenumber_to_joule (Numeric e) |
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J). More... | |
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. More... | |
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 61 of file absorption.cc.
References ARTS_USER_ERROR_IF, and nonstd::isnan().
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 50 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 110 of file absorption.cc.
References find_first_species(), joker, ConstMatrixView::ncols(), and Vector::resize().
Referenced by abs_xsec_per_speciesAddConts().
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 85 of file absorption.cc.
Referenced by Absorption::ReadFromJplStream().