aboutsummaryrefslogtreecommitdiff
path: root/src/scattering.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-08-14 13:37:57 -0500
committertlatorre <tlatorre@uchicago.edu>2018-08-14 13:37:57 -0500
commitf97e51d65e385739394e820bb127e7ab6369135b (patch)
treeda381a3bc27ab9ae96579980ed6cd84192afd7f1 /src/scattering.c
parentf9685a0deacff50c21b12234f168fecf5dd48fd2 (diff)
downloadsddm-f97e51d65e385739394e820bb127e7ab6369135b.tar.gz
sddm-f97e51d65e385739394e820bb127e7ab6369135b.tar.bz2
sddm-f97e51d65e385739394e820bb127e7ab6369135b.zip
use the index of refraction from snoman when computing the angular PDF for photons
Diffstat (limited to 'src/scattering.c')
-rw-r--r--src/scattering.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scattering.c b/src/scattering.c
index a7fa717..a1a63df 100644
--- a/src/scattering.c
+++ b/src/scattering.c
@@ -38,7 +38,7 @@ static double prob_scatter(double wavelength, void *params)
qe = get_quantum_efficiency(wavelength);
- index = get_index(HEAVY_WATER_DENSITY, wavelength, 10.0);
+ index = get_index_snoman_d2o(wavelength);
delta = (1.0/index - beta_cos_theta)/(2*beta_sin_theta_theta0);