ARTS  2.4.0(git:4fb77825)
physics_funcs.h
Go to the documentation of this file.
1 /* Copyright (C) 2002-2012
2  Patrick Eriksson <Patrick.Eriksson@chalmers.se>
3  Stefan Buehler <sbuehler@ltu.se>
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 physics_h
29 #define physics_h
30 
31 /*===========================================================================
32  === External declarations
33  ===========================================================================*/
34 
35 #include "arts.h"
36 #include "complex.h"
37 #include "matpackI.h"
38 
39 /*===========================================================================
40  === Functions in physics_funcs.h
41  ===========================================================================*/
42 
43 Numeric barometric_heightformula(const Numeric& p, const Numeric& dh);
44 
45 Numeric dinvplanckdI(const Numeric& i, const Numeric& f);
46 
47 void fresnel(Complex& Rv,
48  Complex& Rh,
49  const Complex& n1,
50  const Complex& n2,
51  const Numeric& theta);
52 
53 Numeric invplanck(const Numeric& i, const Numeric& f);
54 
55 Numeric invrayjean(const Numeric& i, const Numeric& f);
56 
57 Numeric number_density(const Numeric& p, const Numeric& t);
58 
59 Numeric dnumber_density_dt(const Numeric& p, const Numeric& t);
60 
61 Numeric planck(const Numeric& f, const Numeric& t);
62 
63 void planck(VectorView b, ConstVectorView f, const Numeric& t);
64 
65 Numeric dplanck_dt(const Numeric& f, const Numeric& t);
66 
67 void dplanck_dt(VectorView b, ConstVectorView f, const Numeric& t);
68 
69 Numeric dplanck_df(const Numeric& f, const Numeric& t);
70 
71 Numeric rayjean(const Numeric& f, const Numeric& t);
72 
73 #ifdef ENABLE_REFICE
74 extern "C" {
75 #endif
76 
107 Complex refice_(const Numeric& wavlen, const Numeric& temp);
108 #ifdef ENABLE_REFICE
109 }
110 #endif
111 
112 #endif // physics_h
dplanck_dt
Numeric dplanck_dt(const Numeric &f, const Numeric &t)
dplanck_dt
Definition: physics_funcs.cc:337
temp
#define temp
Definition: legacy_continua.cc:20951
number_density
Numeric number_density(const Numeric &p, const Numeric &t)
number_density
Definition: physics_funcs.cc:219
Complex
std::complex< Numeric > Complex
Definition: complex.h:33
planck
Numeric planck(const Numeric &f, const Numeric &t)
planck
Definition: physics_funcs.cc:269
matpackI.h
Implementation of Matrix, Vector, and such stuff.
complex.h
A class implementing complex numbers for ARTS.
dinvplanckdI
Numeric dinvplanckdI(const Numeric &i, const Numeric &f)
dinvplanckdI
Definition: physics_funcs.cc:98
fresnel
void fresnel(Complex &Rv, Complex &Rh, const Complex &n1, const Complex &n2, const Numeric &theta)
fresnel
Definition: physics_funcs.cc:135
VectorView
The VectorView class.
Definition: matpackI.h:610
Numeric
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:33
invplanck
Numeric invplanck(const Numeric &i, const Numeric &f)
invplanck
Definition: physics_funcs.cc:165
barometric_heightformula
Numeric barometric_heightformula(const Numeric &p, const Numeric &dh)
barometric_heightformula
Definition: physics_funcs.cc:62
rayjean
Numeric rayjean(const Numeric &f, const Numeric &t)
rayjean
Definition: physics_funcs.cc:438
dnumber_density_dt
Numeric dnumber_density_dt(const Numeric &p, const Numeric &t)
dnumber_density_dT
Definition: physics_funcs.cc:243
invrayjean
Numeric invrayjean(const Numeric &i, const Numeric &f)
invrayjean
Definition: physics_funcs.cc:192
ConstVectorView
A constant view of a Vector.
Definition: matpackI.h:476
refice_
Complex refice_(const Numeric &wavlen, const Numeric &temp)
Calculates complex refractive index of Ice 1H.
dplanck_df
Numeric dplanck_df(const Numeric &f, const Numeric &t)
dplanck_df
Definition: physics_funcs.cc:407
arts.h
The global header file for ARTS.