From 303a4c9e6cdf72dc0164b015a833a2d34cbbba02 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 30 Jan 2013 11:09:57 +0100 Subject: Stream changes --- libcrystfel/src/crystal.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libcrystfel/src/crystal.c') diff --git a/libcrystfel/src/crystal.c b/libcrystfel/src/crystal.c index 85430b6f..3c0649cc 100644 --- a/libcrystfel/src/crystal.c +++ b/libcrystfel/src/crystal.c @@ -50,10 +50,8 @@ struct _crystal { /* Information about the crystal */ - UnitCell *indexed_cell; - UnitCell *candidate_cells[MAX_CELL_CANDIDATES]; - int ncells; - double m; /* Mosaicity in radians */ + UnitCell *cell; + double m; /* Mosaicity in radians */ double osf; double profile_radius; int pr_dud; @@ -83,6 +81,11 @@ Crystal *crystal_new() cryst = malloc(sizeof(Crystal)); if ( cryst == NULL ) return NULL; + cryst->cell = NULL; + cryst->reflections = NULL; + cryst->diffracting_resolution = 0.0; + cryst->n_saturated = 0; + return cryst; } -- cgit v1.2.3