51 for (
auto& abs_lines: abs_lines_per_species) {
52 for (
auto& band: abs_lines) {
54 "Species: ", band.Isotopologue().FullName(),
" has no partition function\n",
55 "You must recompile ARTS partition functions with data for this species to continue your calculations,\n"
56 "or exclude the species from your computation setup")
64 for (
auto& abs_lines: abs_lines_per_species) {
65 for (
auto& band: abs_lines) {
67 "Species: ", band.Isotopologue().FullName(),
" has no isotopologue ratios\n",
68 "You must add its isotopologue ratios to your included data or\n"
69 "exclude the species from your computation setup")
95 return e * lower_energy_const;
111 const String& species_name,
void checkIsotopologueRatios(const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Species::IsotopologueRatios &isoratios)
Check that isotopologue ratios for the given species are correctly defined.
void checkPartitionFunctions(const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species)
Check that ARTS was compiled for all requested species tags.
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.
Numeric wavenumber_to_joule(Numeric e)
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).
Declarations required for the calculation of absorption coefficients.
The global header file for ARTS.
const Numeric SPEED_OF_LIGHT
This can be used to make arrays out of anything.
Index ncols() const noexcept
void resize(Index n)
Resize function.
const Numeric PLANCK_CONST
Global constant, the Planck constant [Js].
#define ARTS_USER_ERROR_IF(condition,...)
This file contains basic functions to handle ASCII files.
Constains various line scaling functions.
Header file for logic.cc.
NUMERIC Numeric
The type to use for all floating point numbers.
INDEX Index
The type to use for all integer numbers and indices.
Declarations having to do with the four output streams.
constexpr bool has_partfun(const Species::IsotopeRecord &ir) noexcept
constexpr bool isnan(double d) noexcept