Granular.jl

Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log | Files | Refs | README | LICENSE

commit 345c817c25dcf50105367e45e2f5cce5c4e206de
parent 9a2d2ba9c04eb481884044761b6c6707a225b51c
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Thu, 16 Nov 2017 06:55:35 -0800

fix determination of effective wall normal stress

Diffstat:
Msrc/wall.jl | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/wall.jl b/src/wall.jl @@ -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_index, - sim.ocean) + return sim.walls[wall_index].force / getWallSurfaceArea(sim, wall_index) else error("stress_type not understood, should be 'effective' or 'defined'" * " but is '$stress_type'.")