blob: 65765b060a1cba739890568a0a148e0049187c93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef SCATTERING_H
#define SCATTERING_H
/* Maximum value for the scattering RMS `theta0`.
*
* This is to prevent the interpolation from going out of bounds. */
#define MAX_THETA0 1.0
void init_interpolation(void);
double get_probability(double beta, double cos_theta, double theta0);
double get_probability2(double beta);
void free_interpolation(void);
#endif
|