diff options
-rw-r--r-- | Makefile | 2 | ||||
-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.c | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -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); @@ -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); |