aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-12-07 11:51:56 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:41 +0100
commit911a5a47ecee5fce2ad3d16bd1460f779011c083 (patch)
tree539204221aceafd73c8ce6ba140e6c5c59b3628a /src/diffraction-gpu.h
parent0f24c4fb9451f1c32fb89534b37bf7f804e37d99 (diff)
pattern_sim: Add --flat
Diffstat (limited to 'src/diffraction-gpu.h')
-rw-r--r--src/diffraction-gpu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h
index c313859f..0b0e364b 100644
--- a/src/diffraction-gpu.h
+++ b/src/diffraction-gpu.h
@@ -3,11 +3,11 @@
*
* Calculate diffraction patterns by Fourier methods (GPU version)
*
- * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2012-2017 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
* Authors:
- * 2010-2014 Thomas White <taw@physics.org>
+ * 2010-2017 Thomas White <taw@physics.org>
*
* This file is part of CrystFEL.
*
@@ -42,7 +42,7 @@ struct gpu_context;
extern int get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
int na, int nb, int nc, UnitCell *ucell,
- int no_fringes);
+ int no_fringes, int flat);
extern struct gpu_context *setup_gpu(int no_sfac,
const double *intensities,
const unsigned char *flags,
@@ -53,7 +53,7 @@ extern void cleanup_gpu(struct gpu_context *gctx);
static int get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
int na, int nb, int nc, UnitCell *ucell,
- int no_fringes)
+ int no_fringes, int flat)
{
/* Do nothing */
ERROR("This copy of CrystFEL was not compiled with OpenCL support.\n");