tFix Gnuplot call with tensile stress - Granular.jl - Julia package for granula… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6fa9e47d206927bea7ac220ba5c999a84eb0be81 | |
parent 8c0cc0dd6cc9b4d811cf7a49e36da689491df18f | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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) ") |