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

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/glk-tests/new/sline.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/glk-tests/new/sline.diderot

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

revision 4496, Sat Sep 3 13:52:11 2016 UTC revision 4497, Sat Sep 3 14:12:36 2016 UTC
# Line 1  Line 1 
1    #version 2
2    
3  /*  /*
4    
5  $DDRO_HOME/branches/vis12/bin/diderotc --exec sline.diderot \  $DDRO_HOME/branches/vis12/bin/diderotc --exec sline.diderot \
# Line 5  Line 7 
7    
8  */  */
9    
10  vec2 [] x0s = load("seeds.txt");  vec2 [] x0s = load_sequence("seeds.txt");
11  real h = 0.02;  real h = 0.02;
12  int stepNum = 180;  int stepNum = 180;
13  input real arrow = 0.4;  input real arrow = 0.4;
14    
15  field#1(2)[2] V = bspln3 ⊛ image("flow.nrrd");  field#1(2)[2] V = bspln3 ⊛ load_image("flow.nrrd");
16  field#1(2)[2] ins = bspln3 ⊛ image("flow-crop.nrrd");  field#1(2)[2] ins = bspln3 ⊛ load_image("flow-crop.nrrd");
17    
18  strand sline (int ii, vec2 x0) {  strand sline (int ii, vec2 x0) {
19    int step = 0;    int step = 0;
# Line 36  Line 38 
38    }    }
39  }  }
40    
41  grid(1) { sline(ii, x0s[ii]) | ii in 0..length(x0s)-1 }  create_array { sline(ii, x0s[ii]) | ii in 0..length(x0s)-1 }
   

Legend:
Removed from v.4496  
changed lines
  Added in v.4497

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