From f97e51d65e385739394e820bb127e7ab6369135b Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 14 Aug 2018 13:37:57 -0500 Subject: use the index of refraction from snoman when computing the angular PDF for photons --- src/scattering.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scattering.c') 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); -- cgit