aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-07-05 16:49:46 -0400
committertlatorre <tlatorre@uchicago.edu>2018-07-05 16:49:46 -0400
commit25c19a8888197db68ada2a40c0917e1f534323d7 (patch)
treef3201c3e5fd9cc6ef4d823a17a23a87e0833cbda
parenta752ad53b2712fb58bed611ef9297cb822e1bb20 (diff)
downloadsddm-25c19a8888197db68ada2a40c0917e1f534323d7.tar.gz
sddm-25c19a8888197db68ada2a40c0917e1f534323d7.tar.bz2
sddm-25c19a8888197db68ada2a40c0917e1f534323d7.zip
refractive_index.c -> optics.c
-rw-r--r--Makefile2
-rw-r--r--optics.c (renamed from refractive_index.c)2
-rw-r--r--optics.h (renamed from refractive_index.h)4
-rw-r--r--test.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3e0c0ee..ee4d341 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ calculate_limits: calculate_limits.c
solid_angle.o: solid_angle.c
-test: test.c solid_angle.c refractive_index.c muon.c
+test: test.c solid_angle.c optics.c muon.c
clean:
rm *.o calculate_limits test
diff --git a/refractive_index.c b/optics.c
index d7d07f9..afcdd5e 100644
--- a/refractive_index.c
+++ b/optics.c
@@ -1,5 +1,5 @@
#include <math.h>
-#include "refractive_index.h"
+#include "optics.h"
static double A0 = 0.243905091;
static double A1 = 9.53518094e-3;
diff --git a/refractive_index.h b/optics.h
index 5976eca..5e39ea1 100644
--- a/refractive_index.h
+++ b/optics.h
@@ -1,5 +1,5 @@
-#ifndef REFRACTIVE_INDEX_H
-#define REFRACTIVE_INDEX_H
+#ifndef OPTICS_H
+#define OPTICS_H
double get_index(double p, double wavelength, double T);
diff --git a/test.c b/test.c
index 3448565..7c5dd33 100644
--- a/test.c
+++ b/test.c
@@ -1,7 +1,7 @@
#include "solid_angle.h"
#include <math.h>
#include <stdio.h>
-#include "refractive_index.h"
+#include "optics.h"
#include "muon.h"
typedef int testFunction(char *err);