tpass name argument to ocean constructor - 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 7b7e72552aeb8f96752b21c652f97c0e5b46af30
(DIR) parent 0033f25f4b49e1a301c2d141e0d67a703cee2cfb
(HTM) Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 28 Apr 2017 12:01:08 -0400
pass name argument to ocean constructor
Diffstat:
M src/ocean.jl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/ocean.jl b/src/ocean.jl
t@@ -229,7 +229,7 @@ function createRegularOceanGrid(n::Array{Int, 1},
h = zeros(n[1] + 1, n[2] + 1, n[3], length(time))
e = zeros(n[1] + 1, n[2] + 1, n[3], length(time))
- return Ocean("unnamed",
+ return Ocean(name,
time,
xq, yq,
xh, yh,