Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /examples/iso2d-spatial/go-iso2d-glk.sh
ViewVC logotype

Diff of /examples/iso2d-spatial/go-iso2d-glk.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2984, Sat Mar 7 00:05:29 2015 UTC revision 2985, Sat Mar 7 00:22:32 2015 UTC
# Line 11  Line 11 
11  }  }
12  trap cleanup err exit int term  trap cleanup err exit int term
13    
14    GLK=glk2
15    
16  # compile  # compile
17  ../../branches/lamont/bin/diderotc --exec iso2d-glk.diderot  ../../branches/lamont/bin/diderotc --exec iso2d-$GLK.diderot
18  junk iso2d-glk.{c,o}  junk iso2d-$GLK.{c,o}
19    
20  # incrementally let the particles do more and more steps  # incrementally let the particles do more and more steps
21  maxN=25  maxN=25
22  for N in $(seq -w 0 $maxN); do  for N in $(seq -w 0 $maxN); do
23    echo $N ==========    echo $N ==========
24    ./iso2d-glk -iterMax $N    ./iso2d-$GLK -iterMax $N
25    unu jhisto -i outPos.nrrd -min -1.5 -1.5 -max 1.5 1.5 -b 700 700 \    unu jhisto -i outPos.nrrd -min -1.5 -1.5 -max 1.5 1.5 -b 700 700 \
26     | unu dist -th 0.5 \     | unu dist -th 0.5 \
27     | unu quantize -b 8 -min 0 -max 2 -o pos-$N.png     | unu quantize -b 8 -min 0 -max 2 -o pos-$N.png

Legend:
Removed from v.2984  
changed lines
  Added in v.2985

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0