rl_raylib  1.1.10
rl_Traits.h
1 #ifndef rl_Traits_h_INCLUDED
2 #define rl_Traits_h_INCLUDED
3 
4 // File: rl_Traits.h
5 // Author: Terry Gaetz
6 
7 /* --8<--8<--8<--8<--
8  *
9  * Copyright (C) 2006, 2007 Smithsonian Astrophysical Observatory
10  *
11  * This file is part of rl_raylib
12  *
13  * rl_raylib is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  *
18  * rl_raylib is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the
25  * Free Software Foundation, Inc.
26  * 51 Franklin Street, Fifth Floor
27  * Boston, MA 02110-1301, USA
28  *
29  * -->8-->8-->8-->8-- */
30 
31 /****************************************************************************
32  * 0.0.0 1998-Jun-24 tjg original version
33  */
34 
35 // #ifndef std_complex_dbl_h_INCLUDED
36 // #include <std_complex_dbl/std_complex_dbl.h>
37 // #endif
38 
39 #include <complex>
40 
41 //########################################################################
42 // rl_Traits
43 //########################################################################
44 //
45 
55 class rl_Traits
56 {
57 public:
58 
60  // typedef std_complex_dbl complex;
61  typedef std::complex<double> complex;
62 
64  enum Bool { False, True };
65 
70  {
75  };
76 
81  {
88  };
89 
94  {
96  double energy_;
98  double alpha_;
100  double gamma_;
101  };
102 };
103 
104 /* rl_Traits_h_INCLUDED */
105 #endif
Nevot-Croce factor.
Definition: rl_Traits.h:87
std::complex< double > complex
Typedef for the complex type.
Definition: rl_Traits.h:61
linear in energy, linear in optical constants.
Definition: rl_Traits.h:71
log in energy, log in optical constants.
Definition: rl_Traits.h:74
Modified Debye-Waller factor.
Definition: rl_Traits.h:86
linear in energy, log in optical constants.
Definition: rl_Traits.h:73
Debye-Waller factor.
Definition: rl_Traits.h:84
double alpha_
dielectric decrement, real part
Definition: rl_Traits.h:98
double gamma_
dielectric decrement, imag part
Definition: rl_Traits.h:100
log in energy, linear in optical constants.
Definition: rl_Traits.h:72
no interlayer diffusion
Definition: rl_Traits.h:82
double energy_
energy (keV)
Definition: rl_Traits.h:96
EInterpMode
Enumeration specifying the interpolation of the optical constants.
Definition: rl_Traits.h:69
ERoughType
Enumeration specifying the type of interlayer diffusion treatment.
Definition: rl_Traits.h:80
rl_Traits is a `‘traits’' class for the rl_RayLib library.
Definition: rl_Traits.h:55
Debye-Waller factor.
Definition: rl_Traits.h:83
Bool
Typedef for the Boolean type.
Definition: rl_Traits.h:64