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
Complex refice_(const Numeric &wavlen, const Numeric &temp)
Calculates complex refractive index of Ice 1H.
A class implementing complex numbers for ARTS.
Numeric dinvplanckdI(const Numeric &i, const Numeric &f)
dinvplanckdI
Numeric planck(const Numeric &f, const Numeric &t)
planck
The global header file for ARTS.
std::complex< Numeric > Complex
Definition: complex.h:32
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:29
Numeric invplanck(const Numeric &i, const Numeric &f)
invplanck
Numeric invrayjean(const Numeric &i, const Numeric &f)
invrayjean
#define temp
Definition: continua.cc:20773
Numeric barometric_heightformula(const Numeric &p, const Numeric &dh)
void fresnel(Complex &Rv, Complex &Rh, const Complex &n1, const Complex &n2, const Numeric &theta)
fresnel
Numeric number_density(const Numeric &p, const Numeric &t)
number_density
Numeric rayjean(const Numeric &f, const Numeric &t)
rayjean