ARTS 2.5.0 (git: 9ee3ac6c)
species_info.cc
Go to the documentation of this file.
1/* Copyright 2018, Richard Larsson.
2 *
3 * This program is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU General Public License as published by the
5 * Free Software Foundation; either version 2, or (at your option) any
6 * later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software Foundation,
15 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16 */
17
26#include "species_info.h"
27#include "absorption.h"
28#include "wigner_functions.h"
29
30Numeric get_lande_spin_constant(const Species::Species species) noexcept {
31 if (Species::fromShortName("O2") == species)
32 return 2.002064;
33 if (Species::fromShortName("NO") == species)
34 return 2.00071;
35 if (Species::fromShortName("OH") == species)
36 return 2.00089;
37 if (Species::fromShortName("ClO") == species)
38 return 2.00072;
39 if (Species::fromShortName("SO") == species)
40 return 2.002106;
41 return 2.00231930436182;
42}
43
44Numeric get_lande_lambda_constant() noexcept { return 1.0; }
Declarations required for the calculation of absorption coefficients.
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:33
Numeric get_lande_spin_constant(const Species::Species species) noexcept
Get the Lande spin constant.
Definition: species_info.cc:30
Numeric get_lande_lambda_constant() noexcept
Get the Lande Lambda constant.
Definition: species_info.cc:44
Some molecular constants.
Wigner symbol interactions.