ARTS 2.5.4 (git: 4c0d3b4d)
absorption.h
Go to the documentation of this file.
1/* Copyright (C) 2000-2012
2 Stefan Buehler <sbuehler@ltu.se>
3 Axel von Engeln <engeln@uni-bremen.de>
4
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation; either version 2, or (at your option) any
8 later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
18 USA. */
19
28#ifndef absorption_h
29#define absorption_h
30
31#include "species_tags.h"
32#include "absorptionlines.h"
33#include "array.h"
34#include "energylevelmap.h"
35#include "gridded_fields.h"
36#include "jacobian.h"
37#include "matpackI.h"
38#include "messages.h"
39#include "mystring.h"
40#include <array>
41#include <cmath>
42#include <limits>
43#include <map>
44#include <stdexcept>
45
47void checkPartitionFunctions(const ArrayOfArrayOfAbsorptionLines& abs_lines_per_species);
48
50void checkIsotopologueRatios(const ArrayOfArrayOfAbsorptionLines& abs_lines_per_species,
51 const Species::IsotopologueRatios& isoratios);
52
53// A helper function for energy conversion:
55
56//======================================================================
57// Functions related to species
58//======================================================================
59
61 const String& species_name,
62 const ArrayOfArrayOfSpeciesTag& abs_species,
63 const Matrix& abs_vmrs);
64
65#endif // 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: absorption.cc:61
void checkPartitionFunctions(const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species)
Check that ARTS was compiled for all requested species tags.
Definition: absorption.cc:50
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.
Definition: absorption.cc:110
Numeric wavenumber_to_joule(Numeric e)
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).
Definition: absorption.cc:85
Contains the absorption namespace.
This file contains the definition of Array.
This can be used to make arrays out of anything.
Definition: array.h:108
The Matrix class.
Definition: matpackI.h:1270
The Vector class.
Definition: matpackI.h:908
Class to map energy levels.
Implementation of gridded fields.
Routines for setting up the jacobian.
Implementation of Matrix, Vector, and such stuff.
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:33
Declarations having to do with the four output streams.
This file contains the definition of String, the ARTS string class.