tfix determination of effective wall normal stress - Granular.jl - Julia packag… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 345c817c25dcf50105367e45e2f5cce5c4e206de | |
parent 9a2d2ba9c04eb481884044761b6c6707a225b51c | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 16 Nov 2017 06:55:35 -0800 | |
fix determination of effective wall normal stress | |
Diffstat: | |
M src/wall.jl | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/src/wall.jl b/src/wall.jl | |
t@@ -210,8 +210,7 @@ function getWallNormalStress(sim::Simulation; | |
return sim.walls[wall_index].normal_stress | |
elseif stress_type == "effective" | |
- return sim.walls[wall_index].force / getWallSurfaceArea(sim, wall_inde… | |
- sim.ocean) | |
+ return sim.walls[wall_index].force / getWallSurfaceArea(sim, wall_inde… | |
else | |
error("stress_type not understood, should be 'effective' or 'defined'"… | |
" but is '$stress_type'.") |