diff options
author | Thomas White <taw@physics.org> | 2010-02-09 17:24:16 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-17 10:33:13 +0100 |
commit | 0f6ebe5649902dea9456c6598bc28e694c422336 (patch) | |
tree | 3ce031ca3c8ecf4fb132fa90aeae7373e0d5b0b6 /src/diffraction.c | |
parent | 89bd4cc23c5ac40dd0060d362f663819a5f4ae22 (diff) |
Use OpenCL for much faster diffraction calculation
Diffstat (limited to 'src/diffraction.c')
-rw-r--r-- | src/diffraction.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diffraction.c b/src/diffraction.c index 88b50d1f..fb993bf6 100644 --- a/src/diffraction.c +++ b/src/diffraction.c @@ -23,9 +23,9 @@ #include "sfac.h" -#define SAMPLING (5) -#define BWSAMPLING (10) -#define BANDWIDTH (1.0 / 100.0) +#define SAMPLING (1) +#define BWSAMPLING (1) +#define BANDWIDTH (0.0 / 100.0) static double lattice_factor(struct rvec q, double ax, double ay, double az, |