tchange default forcing - Granular.jl - Julia package for granular dynamics sim… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6fd3f588961a35e93acfda7850c4f04db0b5851c | |
parent cb9209a7e78dc01b4d11d7d027b21267ebe740a1 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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 install… | |
# 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 |