diff options
author | Thomas White <taw@physics.org> | 2015-03-29 08:11:21 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-04-20 15:50:39 +0200 |
commit | 69f9a5646f12f6055328e28c03ced984e9d6cbd5 (patch) | |
tree | 49215c901c18029cbf0295c6e2b5bba600c360ea /libcrystfel/src/geometry.c | |
parent | fb6317cf0679a8a847133360d6e35fc8f0bfbec9 (diff) |
Add GPARAM_DETX, GPARAM_DETY and GPARAM_CLEN
Diffstat (limited to 'libcrystfel/src/geometry.c')
-rw-r--r-- | libcrystfel/src/geometry.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c index 92284c3d..ca91082b 100644 --- a/libcrystfel/src/geometry.c +++ b/libcrystfel/src/geometry.c @@ -370,6 +370,11 @@ double r_gradient(UnitCell *cell, int k, Reflection *refl, struct image *image) case GPARAM_CSZ : return - ls * cos(phi); + case GPARAM_DETX : + case GPARAM_DETY : + case GPARAM_CLEN : + return 0.0; + } ERROR("No r gradient defined for parameter %i\n", k); |