diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-07-05 16:49:46 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-07-05 16:49:46 -0400 |
commit | 25c19a8888197db68ada2a40c0917e1f534323d7 (patch) | |
tree | f3201c3e5fd9cc6ef4d823a17a23a87e0833cbda | |
parent | a752ad53b2712fb58bed611ef9297cb822e1bb20 (diff) | |
download | sddm-25c19a8888197db68ada2a40c0917e1f534323d7.tar.gz sddm-25c19a8888197db68ada2a40c0917e1f534323d7.tar.bz2 sddm-25c19a8888197db68ada2a40c0917e1f534323d7.zip |
refractive_index.c -> optics.c
-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); |