From c3c5ba136d1a4de7ab053f38724ece8c415b110d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 26 Apr 2011 16:23:29 +0200 Subject: Work in progress on post refinement --- src/partial_sim.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/partial_sim.c') diff --git a/src/partial_sim.c b/src/partial_sim.c index a9abb55b..2c2493e9 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -39,7 +39,7 @@ static void mess_up_cell(UnitCell *cell) double cx, cy, cz; cell_get_cartesian(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); - ax += 0.005*ax; + ax += 0.008*ax; cell_set_cartesian(cell, ax, ay, az, bx, by, bz, cx, cy, cz); } @@ -255,7 +255,7 @@ int main(int argc, char *argv[]) /* Alter the cell by a tiny amount */ image.filename = "(simulated 2)"; - new = rotate_cell(cell, deg2rad(0.001), deg2rad(0.0), 0.0); + new = rotate_cell(cell, deg2rad(1.0), deg2rad(0.0), 0.0); cell_free(image.indexed_cell); image.indexed_cell = new; @@ -264,7 +264,7 @@ int main(int argc, char *argv[]) calculate_partials(image.reflections, 0.5, full, sym); /* Give a slightly incorrect cell in the stream */ - //mess_up_cell(image.indexed_cell); + mess_up_cell(image.indexed_cell); write_chunk(ofh, &image, STREAM_INTEGRATED); reflist_free(image.reflections); -- cgit v1.2.3