Introduction
Introduction Statistics Contact Development Disclaimer Help
tlogo.jl: use gnuplot for plotting grains - Granular.jl - Julia package for gra…
git clone git://src.adamsgaard.dk/Granular.jl
Log
Files
Refs
README
LICENSE
---
commit 9e33ecfe07f9c085f53b15d0d2cd33f4c0d98584
parent 14ba3f0847f34fe635a056b908763994cc4639f7
Author: Anders Damsgaard <[email protected]>
Date: Fri, 12 Mar 2021 09:48:23 +0100
logo.jl: use gnuplot for plotting grains
Diffstat:
M examples/logo.jl | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/examples/logo.jl b/examples/logo.jl
t@@ -167,7 +167,13 @@ Granular.setTotalTime!(sim, 5.)
Granular.setOutputFileInterval!(sim, .1)
Granular.removeSimulationFiles(sim)
-Granular.run!(sim, verbose=verbose)
+
+while sim.time < sim.time_total
+ for i=1:100
+ Granular.run!(sim, single_step=true, verbose=verbose)
+ end
+ Granular.plotGrains(sim, show_figure=false)
+end
# Granular.render(sim, images=true, animation=false, reverse=true)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.