| tfix dimensionality of tensile strength - Granular.jl - Julia package for granu… | |
| git clone git://src.adamsgaard.dk/Granular.jl | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 82f70d2c9a75a02c4a9d57bc1cfb7825ff4941f8 | |
| parent 18884f0b452d0133208e3a46eadb498a720197a9 | |
| Author: Anders Damsgaard <[email protected]> | |
| Date: Thu, 25 May 2017 16:00:07 -0400 | |
| fix dimensionality of tensile strength | |
| Diffstat: | |
| M src/interaction.jl | 3 +-- | |
| 1 file changed, 1 insertion(+), 2 deletions(-) | |
| --- | |
| diff --git a/src/interaction.jl b/src/interaction.jl | |
| t@@ -137,8 +137,7 @@ function interactIceFloes!(simulation::Simulation, i::Int,… | |
| # linearly increase tensile strength with time until max. value | |
| tensile_strength = min(simulation.ice_floes[i].contact_age[ic]/ | |
| (60.*60.*24.), 1.)* | |
| - simulation.ice_floes[i].tensile_strength* | |
| - simulation.ice_floes[i].thickness | |
| + simulation.ice_floes[i].tensile_strength | |
| # break bond | |
| if abs(force_n) >= tensile_strength*A_ij |