From 3fbd31a475e9fe5c9c2148afedc851e81749613c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 30 Jun 2011 16:02:27 +0200 Subject: Configure partial_sim --- src/partial_sim.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/partial_sim.c b/src/partial_sim.c index 1c465608..15e46861 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -44,15 +44,15 @@ static void mess_up_cell(UnitCell *cell) //cell_print(cell); cell_get_reciprocal(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); - ax = gaussian_noise(ax, cnoise*fabs(ax)/200.0); - ay = gaussian_noise(ay, cnoise*fabs(ay)/200.0); - az = gaussian_noise(az, cnoise*fabs(az)/200.0); - bx = gaussian_noise(bx, cnoise*fabs(bx)/200.0); - by = gaussian_noise(by, cnoise*fabs(by)/200.0); - bz = gaussian_noise(bz, cnoise*fabs(bz)/200.0); - cx = gaussian_noise(cx, cnoise*fabs(cx)/200.0); - cy = gaussian_noise(cy, cnoise*fabs(cy)/200.0); - cz = gaussian_noise(cz, cnoise*fabs(cz)/200.0); + ax = gaussian_noise(ax, cnoise*fabs(ax)/100.0); + ay = gaussian_noise(ay, cnoise*fabs(ay)/100.0); + az = gaussian_noise(az, cnoise*fabs(az)/100.0); + bx = gaussian_noise(bx, cnoise*fabs(bx)/100.0); + by = gaussian_noise(by, cnoise*fabs(by)/100.0); + bz = gaussian_noise(bz, cnoise*fabs(bz)/100.0); + cx = gaussian_noise(cx, cnoise*fabs(cx)/100.0); + cy = gaussian_noise(cy, cnoise*fabs(cy)/100.0); + cz = gaussian_noise(cz, cnoise*fabs(cz)/100.0); cell_set_reciprocal(cell, ax, ay, az, bx, by, bz, cx, cy, cz); //STATUS("Changed:\n"); -- cgit v1.2.3