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

SCM Repository

[diderot] Annotation of /branches/charisee/ertest/vispaper/vmiso2d/go-fsamp.sh
ViewVC logotype

Annotation of /branches/charisee/ertest/vispaper/vmiso2d/go-fsamp.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2894 - (view) (download) (as text)

1 : glk 2894 #!/bin/bash
2 :    
3 :     DDRO="$DDRO_HOME/branches/vis12/bin/diderotc --target=c"
4 :    
5 :     set -o errexit
6 :     set -o nounset
7 :    
8 :     JUNK=""
9 :     function junk {
10 :     JUNK="$JUNK $@"
11 :     }
12 :     function cleanup {
13 :     rm -rf $JUNK
14 :     }
15 :     trap cleanup err exit int term
16 :    
17 :     $DDRO --exec fsamp.diderot; junk fsamp{,.c,.o,.h}
18 :    
19 :     ./fsamp -theta 0 -size0 80 -size1 80 &> vv.nhdr; junk vv.{nrrd,nhdr}
20 :     unu save -f nrrd -i vv.nhdr -o vec0.nrrd
21 :    
22 :     ./fsamp -theta 0 -size0 20 -size1 40 &> vv.nhdr
23 :     unu save -f nrrd -i vv.nhdr -o vec1.nrrd
24 :    
25 :     ./fsamp -theta 1 -size0 20 -size1 40 &> vv.nhdr
26 :     unu save -f nrrd -i vv.nhdr -o vec2.nrrd
27 :    
28 :     ./fsamp -theta 1 -shear 0.2 -size0 20 -size1 40 &> vv.nhdr
29 :     unu save -f nrrd -i vv.nhdr -o vec3.nrrd

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