From b2f451cf78d83d6de8a455b191636dc85f7de1cb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 27 May 2020 16:38:19 +0200 Subject: Convert prediction gradients to detgeom --- libcrystfel/src/geometry.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/geometry.h') diff --git a/libcrystfel/src/geometry.h b/libcrystfel/src/geometry.h index afaa9d6c..eb991a27 100644 --- a/libcrystfel/src/geometry.h +++ b/libcrystfel/src/geometry.h @@ -8,7 +8,7 @@ * Copyright © 2012 Richard Kirian * * Authors: - * 2010-2016 Thomas White + * 2010-2020 Thomas White * 2012 Richard Kirian * * This file is part of CrystFEL. @@ -39,6 +39,7 @@ #include "reflist.h" #include "cell.h" #include "crystal.h" +#include "detgeom.h" #ifdef __cplusplus extern "C" { @@ -122,9 +123,9 @@ extern double sphere_fraction(double rlow, double rhigh, double pr); extern double gaussian_fraction(double rlow, double rhigh, double pr); extern double x_gradient(int param, Reflection *refl, UnitCell *cell, - struct panel *p); + struct detgeom_panel *p); extern double y_gradient(int param, Reflection *refl, UnitCell *cell, - struct panel *p); + struct detgeom_panel *p); #ifdef __cplusplus } -- cgit v1.2.3