aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-30 18:37:41 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commit0fd8f9fc6147c5b43e2789c69b2b8266002ce53e (patch)
treef2d638143bc431945ccb283b63b3881161e0d22a
parent1300f72db9ffd953a65969bf76ffef5669ddef80 (diff)
Single point of truth for which parameters we use
-rw-r--r--src/detector.c2
-rw-r--r--src/diffraction.c2
-rw-r--r--src/parameters.tmp1
-rw-r--r--src/pattern_sim.c2
-rw-r--r--src/reflections.c2
5 files changed, 5 insertions, 4 deletions
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,