aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/crystal.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-01-30 11:09:57 +0100
committerThomas White <taw@physics.org>2013-01-30 11:09:57 +0100
commit303a4c9e6cdf72dc0164b015a833a2d34cbbba02 (patch)
treeee0a69e8f9da9063f3ea168bd184f6e0d57d57f8 /libcrystfel/src/crystal.c
parent9ce39259c3d6bb1b76efbe02f84a4e10a30be13d (diff)
Stream changes
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;
}