Granular.jl

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

commit 14ba3f0847f34fe635a056b908763994cc4639f7
parent 37ea3bb174343a414d1a5c8f138af4092e1c41c1
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 11 Sep 2020 13:21:52 +0200

logo.jl: Fix ocean forcing assignment for convergent forcing

Diffstat:
Mexamples/logo.jl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/logo.jl b/examples/logo.jl @@ -129,7 +129,7 @@ elseif forcing == "convergent" Random.seed!(1) sim.ocean.u[:, :, 1, 1] = (rand(nx+1, ny+1) .- 0.5) .* 0.1 for j=1:size(sim.ocean.u, 2) - sim.ocean.v[:, j, 1, 1] = -(j/ny - 0.5)*10.0 + sim.ocean.v[:, j, 1, 1] .= -(j/ny - 0.5)*10.0 end else