commit cd0c85949a7fea9d73fcbb569cdb9a41b70386d1
parent c541a2e1597ca7c54f81b54c2b189b2c4da296c6
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 22 Dec 2017 15:59:57 -0500
Disable verbose output when adding the first grain of an irregular packing
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/packing.jl b/src/packing.jl
@@ -157,7 +157,8 @@ function irregularPacking!(simulation::Simulation;
if isempty(simulation.grains)
r = rand()*(radius_max - radius_min) + radius_min
x0 = rand(2).*[width_x, width_y] + sw
- addGrainCylindrical!(simulation, x0, r, thickness, color=1)
+ addGrainCylindrical!(simulation, x0, r, thickness, color=1,
+ verbose=false)
sortGrainsInGrid!(simulation, grid)
push!(active_list, 1)
else