tchange simulation id depending on resolution - 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 b3a11d3fab0cc139a56290b080d1b68917566ee8
 (DIR) parent 23fc4a029c9f5c4a8b4781eb1404f4049fda3add
 (HTM) Author: Anders Damsgaard <andersd@riseup.net>
       Date:   Mon,  8 May 2017 22:53:29 -0400
       
       change simulation id depending on resolution
       
       Diffstat:
         M examples/nares_strait.jl            |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/examples/nares_strait.jl b/examples/nares_strait.jl
       t@@ -2,16 +2,16 @@
        import SeaIce
        
        sim = SeaIce.createSimulation(id="nares_strait")
       +n = [25, 25, 2]
       +
       +#sim = SeaIce.createSimulation(id="nares_strait_coarse")
       +#n = [6, 6, 2]
        
        # Initialize ocean
        Lx = 50.e3
        Lx_constriction = 10e3
        L = [Lx, Lx*1.5, 1e3]
        Ly_constriction = 20e3
       -#n = [100, 100, 2]  # high resolution
       -#n = [50, 50, 2]  # intermedite resolution
       -n = [25, 25, 2]
       -#n = [6, 6, 2]  # coarse resolution
        sim.ocean = SeaIce.createRegularOceanGrid(n, L, name="poiseuille_flow")
        sim.ocean.v[:, :, 1, 1] = 1e-8*((sim.ocean.xq - Lx/2.).^2 - Lx^2./4.)