diff options
author | Thomas White <taw@physics.org> | 2023-11-08 16:24:41 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-02-06 16:59:34 +0100 |
commit | e377768607f11d48106bd1381f1312379c342d7e (patch) | |
tree | 1e662f0557127e1bd92febd27dfda26f2d5a1960 /libcrystfel/src/crystal.c | |
parent | f3b25d69e888cb66e6a2add491a4f6d5e18f30af (diff) |
Crystal: Remove reference to image structure (part 1)
Diffstat (limited to 'libcrystfel/src/crystal.c')
-rw-r--r-- | libcrystfel/src/crystal.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libcrystfel/src/crystal.c b/libcrystfel/src/crystal.c index 71d707d6..cece3eb4 100644 --- a/libcrystfel/src/crystal.c +++ b/libcrystfel/src/crystal.c @@ -41,9 +41,6 @@ struct _crystal { - /* The image containing the crystal */ - struct image *image; - /* Information about the crystal */ UnitCell *cell; double m; /* Mosaicity in radians */ @@ -222,18 +219,6 @@ long long int crystal_get_num_implausible_reflections(Crystal *cryst) } -struct image *crystal_get_image(Crystal *cryst) -{ - return cryst->image; -} - - -const struct image *crystal_get_image_const(const Crystal *cryst) -{ - return cryst->image; -} - - double crystal_get_osf(Crystal *cryst) { return cryst->osf; @@ -311,12 +296,6 @@ void crystal_set_num_implausible_reflections(Crystal *cryst, long long int n) } -void crystal_set_image(Crystal *cryst, struct image *image) -{ - cryst->image = image; -} - - void crystal_set_osf(Crystal *cryst, double osf) { cryst->osf = osf; |