diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-10-16 11:59:45 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-10-16 11:59:45 +0200 |
commit | a5289c2bbfdc7a04fc3f44b0cead930a2740394b (patch) | |
tree | 892e27db70376944af3c84d0a7fc5b8f5c80de14 /src/relrod.c | |
parent | 929d5f3ee40572b1f96553d0e8d978b1ec205b7f (diff) |
Make the maximum excitation error a parameter to get_reflections
Diffstat (limited to 'src/relrod.c')
-rw-r--r-- | src/relrod.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/relrod.c b/src/relrod.c index bbb5fb68..0d1b1e63 100644 --- a/src/relrod.c +++ b/src/relrod.c @@ -53,10 +53,9 @@ static void mapping_rotate(double x, double y, double z, } -void get_reflections(struct image *image, UnitCell *cell) +void get_reflections(struct image *image, UnitCell *cell, double smax) { ImageFeatureList *flist; - double smax = 0.01e9; double tilt, omega, wavenumber; double nx, ny, nz; /* "normal" vector */ double kx, ky, kz; /* Electron wavevector ("normal" times 1/lambda) */ |