aboutsummaryrefslogtreecommitdiff
path: root/src/optics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/optics.c')
-rw-r--r--src/optics.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/optics.c b/src/optics.c
index dd9b82d..99c2a51 100644
--- a/src/optics.c
+++ b/src/optics.c
@@ -26,6 +26,12 @@ static double RIND_D2O_C3 = 0.32;
* From http://pdg.lbl.gov/2018/reviews/rpp2018-rev-phys-constants.pdf. */
static double HC = 1.239841973976e3;
+double get_absorption_length_snoman_d2o(double wavelength)
+{
+ /* Returns the absorption length in D2O in cm. */
+ return 1e4;
+}
+
double get_index(double p, double wavelength, double T)
{
/* Returns the index of refraction of pure water for a given density,