From 0fd8f9fc6147c5b43e2789c69b2b8266002ce53e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 30 Sep 2010 18:37:41 +0200 Subject: Single point of truth for which parameters we use --- src/detector.c | 2 +- src/diffraction.c | 2 +- src/parameters.tmp | 1 + src/pattern_sim.c | 2 +- src/reflections.c | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 src/parameters.tmp diff --git a/src/detector.c b/src/detector.c index 151bac61..11e61b48 100644 --- a/src/detector.c +++ b/src/detector.c @@ -20,7 +20,7 @@ #include "utils.h" #include "diffraction.h" #include "detector.h" -#include "parameters-lcls.tmp" +#include "parameters.tmp" int atob(const char *a) diff --git a/src/diffraction.c b/src/diffraction.c index 5ffe94a8..aea47035 100644 --- a/src/diffraction.c +++ b/src/diffraction.c @@ -22,7 +22,7 @@ #include "cell.h" #include "diffraction.h" #include "sfac.h" -#include "parameters-lcls.tmp" +#include "parameters.tmp" #define SAMPLING (4) diff --git a/src/parameters.tmp b/src/parameters.tmp new file mode 100644 index 00000000..f550cd1a --- /dev/null +++ b/src/parameters.tmp @@ -0,0 +1 @@ +#include "parameters-lcls.tmp" diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 371a4ef5..ea3722a7 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -31,7 +31,7 @@ #include "peaks.h" #include "sfac.h" #include "reflections.h" -#include "parameters-lcls.tmp" +#include "parameters.tmp" static void show_help(const char *s) diff --git a/src/reflections.c b/src/reflections.c index d187041f..70b2744c 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -19,7 +19,7 @@ #include "utils.h" #include "cell.h" #include "reflections.h" -#include "parameters-lcls.tmp" +#include "parameters.tmp" void write_reflections(const char *filename, ReflItemList *items, -- cgit v1.2.3