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

SCM Repository

[diderot] View of /examples/iso2d-spatial/go-iso2d-glk3.sh
ViewVC logotype

View of /examples/iso2d-spatial/go-iso2d-glk3.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3023 - (download) (as text) (annotate)
Mon Mar 9 21:56:30 2015 UTC (4 years, 4 months ago) by glk
File size: 704 byte(s)
hacking
#!/usr/bin/env bash
set -o errexit
set -o nounset

JUNK=""
function junk {
  JUNK="$JUNK $@"
}
function cleanup {
  rm -rf $JUNK
}
trap cleanup err exit int term

GLK=glk3
POS=pos

DFLAGS="--disable-high-vn --disable-mid-vn --disable-low-vn"
#DFLAGS=""
# compile
../../branches/lamont/bin/diderotc $DFLAGS --exec iso2d-$GLK.diderot

junk iso2d-$GLK.{c,o}

echo ========== ./iso2d-$GLK -forceIterMax 20000
./iso2d-$GLK -iterLimit 20000 2>&1 | tee log.txt
# ./iso2d-$GLK -iterLimit 2000 -margin 1 2>&1 | tee log-1.txt
# diff log-{0,1}.txt | tail

unu jhisto -i $POS.nrrd -min -1.5 -1.5 -max 1.5 1.5 -b 700 700 \
 | unu dist -th 0.5 \
 | unu quantize -b 8 -min 0 -max 2 -o pos-final.png

open pos-final.png

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