tDisable verbose output when adding the first grain of an irregular packing - Granular.jl - Julia package for granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/Granular.jl
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cd0c85949a7fea9d73fcbb569cdb9a41b70386d1
(DIR) parent c541a2e1597ca7c54f81b54c2b189b2c4da296c6
(HTM) 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:
M src/packing.jl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/packing.jl b/src/packing.jl
t@@ -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