aboutsummaryrefslogtreecommitdiff
path: root/src/optics.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-09-20 11:19:25 -0500
committertlatorre <tlatorre@uchicago.edu>2018-09-20 11:19:25 -0500
commit8538a7cbc01f5f3143cb366884dfa84ebc1625ed (patch)
tree0a2bed1343cb90aeda24bd204deaf9e511f28c51 /src/optics.h
parent0780425642008a1b9eff8151456d7699111f4dc9 (diff)
downloadsddm-8538a7cbc01f5f3143cb366884dfa84ebc1625ed.tar.gz
sddm-8538a7cbc01f5f3143cb366884dfa84ebc1625ed.tar.bz2
sddm-8538a7cbc01f5f3143cb366884dfa84ebc1625ed.zip
add absorption lengths for D2O and H2O weighted by the Cerenkov spectrum and the quantum efficiency
Diffstat (limited to 'src/optics.h')
-rw-r--r--src/optics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/optics.h b/src/optics.h
index 13b3e0b..fdeefdd 100644
--- a/src/optics.h
+++ b/src/optics.h
@@ -1,7 +1,10 @@
#ifndef OPTICS_H
#define OPTICS_H
+int optics_init(void);
+double get_weighted_absorption_length_snoman_h2o(void);
double get_absorption_length_snoman_h2o(double wavelength);
+double get_weighted_absorption_length_snoman_d2o(void);
double get_absorption_length_snoman_d2o(double wavelength);
double get_index(double p, double wavelength, double T);
double get_index_snoman_h2o(double wavelength);