aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);