aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/crystal.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/crystal.c')
-rw-r--r--libcrystfel/src/crystal.c11
1 files changed, 7 insertions, 4 deletions
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;
}