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 3022, Mon Mar 9 21:56:06 2015 UTC revision 3023, Mon Mar 9 21:56:30 2015 UTC
# Line 11  Line 11 
11  }  }
12  trap cleanup err exit int term  trap cleanup err exit int term
13    
14  GLK=glk3  GLK=glk4
15    POS=pos
16    
17  DFLAGS="--disable-high-vn --disable-mid-vn --disable-low-vn"  DFLAGS="--disable-high-vn --disable-mid-vn --disable-low-vn"
 #DFLAGS=""  
18  # compile  # compile
19  ../../branches/lamont/bin/diderotc $DFLAGS --exec iso2d-$GLK.diderot  ../../branches/lamont/bin/diderotc $DFLAGS --exec iso2d-$GLK.diderot
20    
21  junk iso2d-$GLK.{c,o}  junk iso2d-$GLK.{c,o}
22    
23  # incrementally let the particles do more and more steps  # incrementally let the particles do more and more steps
24  maxN=99  maxN=90
25  for N in $(seq -w 1 $maxN); do  for N in $(seq -w 1 $maxN); do
26    echo $N ==========    echo $N ========== ./iso2d-$GLK -iterLimit $N
27    ./iso2d-$GLK -forceIterMax $N    ./iso2d-$GLK -iterLimit $N
28    unu jhisto -i outPos.nrrd -min -1.5 -1.5 -max 1.5 1.5 -b 700 700 \    unu jhisto -i $POS.nrrd -min -1.5 -1.5 -max 1.5 1.5 -b 700 700 \
29     | unu dist -th 0.5 \     | unu dist -th 0.5 \
30     | unu quantize -b 8 -min 0 -max 2 -o pos-$N.png     | unu quantize -b 8 -min 0 -max 2 -o pos-$N.png
31  done  done

Legend:
Removed from v.3022  
changed lines
  Added in v.3023

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