ARTS  2.2.66
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 
20 
21 
22 /*===========================================================================
23  === File description
24  ===========================================================================*/
25 
35 #ifndef physics_h
36 #define physics_h
37 
38 /*===========================================================================
39  === External declarations
40  ===========================================================================*/
41 
42 #include "arts.h"
43 #include "matpackI.h"
44 #include "complex.h"
45 
46 
47 
48 /*===========================================================================
49  === Functions in physics_funcs.h
50  ===========================================================================*/
51 
53  const Numeric& dh);
54 
56  const Numeric& i,
57  const Numeric& f );
58 
59 void fresnel(
60  Complex& Rv,
61  Complex& Rh,
62  const Complex& n1,
63  const Complex& n2,
64  const Numeric& theta );
65 
67  const Numeric& i,
68  const Numeric& f );
69 
71  const Numeric& i,
72  const Numeric& f );
73 
75  const Numeric& p,
76  const Numeric& t );
77 
79  const Numeric& f,
80  const Numeric& t );
81 
83  const Numeric& f,
84  const Numeric& t );
85 
86 #ifdef ENABLE_REFICE
87 extern "C" {
88 #endif
89 
119  Complex refice_(const Numeric& wavlen, const Numeric& temp);
120 #ifdef ENABLE_REFICE
121 }
122 #endif
123 
124 #endif // physics_h
number_density
Numeric number_density(const Numeric &p, const Numeric &t)
number_density
Definition: physics_funcs.cc:237
temp
#define temp
Definition: continua.cc:20773
Complex
std::complex< Numeric > Complex
Definition: complex.h:32
planck
Numeric planck(const Numeric &f, const Numeric &t)
planck
Definition: physics_funcs.cc:261
matpackI.h
complex.h
A class implementing complex numbers for ARTS.
dinvplanckdI
Numeric dinvplanckdI(const Numeric &i, const Numeric &f)
dinvplanckdI
Definition: physics_funcs.cc:110
fresnel
void fresnel(Complex &Rv, Complex &Rh, const Complex &n1, const Complex &n2, const Numeric &theta)
fresnel
Definition: physics_funcs.cc:148
Numeric
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:29
invplanck
Numeric invplanck(const Numeric &i, const Numeric &f)
invplanck
Definition: physics_funcs.cc:180
barometric_heightformula
Numeric barometric_heightformula(const Numeric &p, const Numeric &dh)
Definition: physics_funcs.cc:70
rayjean
Numeric rayjean(const Numeric &f, const Numeric &t)
rayjean
Definition: physics_funcs.cc:293
invrayjean
Numeric invrayjean(const Numeric &i, const Numeric &f)
invrayjean
Definition: physics_funcs.cc:214
refice_
Complex refice_(const Numeric &wavlen, const Numeric &temp)
Calculates complex refractive index of Ice 1H.
arts.h
The global header file for ARTS.