aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-28 11:44:24 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:30 +0100
commita901dc48ca178c9c72df10a669e10f06b8799d3a (patch)
treece5f5cb28258709b39501eeb2236d3350e339765 /src/partial_sim.c
parent6ae57b6447abcb4147795e7971c4fa75ea8c3269 (diff)
partial_sim: Reduce verbosity
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index f8bc354b..35572bd0 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -40,8 +40,8 @@ static void mess_up_cell(UnitCell *cell)
/* Cell noise in percent */
const double cnoise = 0.5;
- STATUS("Real:\n");
- cell_print(cell);
+ //STATUS("Real:\n");
+ //cell_print(cell);
cell_get_reciprocal(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz);
ax = gaussian_noise(ax, cnoise*fabs(ax)/100.0);
@@ -55,8 +55,8 @@ static void mess_up_cell(UnitCell *cell)
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");
- cell_print(cell);
+ //STATUS("Changed:\n");
+ //cell_print(cell);
}
@@ -280,7 +280,7 @@ int main(int argc, char *argv[])
} else {
osf = 2.0;
}
- STATUS("Image %i scale factor %f\n", i, osf);
+ //STATUS("Image %i scale factor %f\n", i, osf);
/* Set up a random orientation */
orientation = random_quaternion();