aboutsummaryrefslogtreecommitdiff
path: root/src/scattering.h
blob: 69d4c966e053d3d50e71e6e67bd9aa62068bdf1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
double get_weighted_quantum_efficiency(void);
void free_interpolation(void);

#endif