tFix Gnuplot call with tensile stress - 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 6fa9e47d206927bea7ac220ba5c999a84eb0be81
(DIR) parent 8c0cc0dd6cc9b4d811cf7a49e36da689491df18f
(HTM) Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 19 Feb 2018 20:06:06 -0500
Fix Gnuplot call with tensile stress
Diffstat:
M src/io.jl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/io.jl b/src/io.jl
t@@ -1406,7 +1406,7 @@ function plotGrains(sim::Simulation;
if tensile_stress[i] > 0
write(f, "nohead ")
else
- write(f, "doublehead ")
+ write(f, "heads ")
end
write(f, "lw $(abs(tensile_stress[i])/
max_tensile_stress*max_line_width) ")