tfix determination of effective wall normal 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 345c817c25dcf50105367e45e2f5cce5c4e206de
 (DIR) parent 9a2d2ba9c04eb481884044761b6c6707a225b51c
 (HTM) Author: Anders Damsgaard <andersd@riseup.net>
       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(-)
       ---
 (DIR) 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_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'.")