tchange default forcing - 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 6fd3f588961a35e93acfda7850c4f04db0b5851c
(DIR) parent cb9209a7e78dc01b4d11d7d027b21267ebe740a1
(HTM) Author: Anders Damsgaard <andersd@riseup.net>
Date: Tue, 12 Sep 2017 18:16:03 -0400
change default forcing
Diffstat:
M examples/logo.jl | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/examples/logo.jl b/examples/logo.jl
t@@ -3,10 +3,12 @@
import SeaIce
const verbose = true
+
const text = "SeaIce.jl"
+
+const forcing = "gyres"
#const forcing = "down"
-#const forcing = "gyres"
-const forcing = "convergent"
+#const forcing = "convergent"
# Font created with `figlet` and the font 'pebbles'. If figlet is not installed
# on your system, use the string below:
t@@ -116,7 +118,7 @@ elseif forcing == "convergent"
Base.Random.srand(1)
sim.ocean.u[:, :, 1, 1] = (Base.Random.rand(nx+1, ny+1) - .5)*.1
for j=1:size(sim.ocean.u, 2)
- sim.ocean.v[:, j, 1, 1] = -(j/ny - .5)*5.
+ sim.ocean.v[:, j, 1, 1] = -(j/ny - .5)*10.
end
else