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

SCM Repository

[diderot] Diff of /branches/charisee/test/lic.diderot
ViewVC logotype

Diff of /branches/charisee/test/lic.diderot

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

revision 3062, Sat Mar 14 02:22:22 2015 UTC revision 3063, Sat Mar 14 13:37:57 2015 UTC
# Line 11  Line 11 
11  real h = 0.01;    // step size of integration  real h = 0.01;    // step size of integration
12  int stepNum = 25; // take this many steps both upstream and downstream  int stepNum = 25; // take this many steps both upstream and downstream
13    
14  field#1(2)[2] V = load("../data/vorttest.nrrd") ⊛ ctmr;  field#1(2)[2] V = image("../data/vorttest.nrrd") ⊛ ctmr;
15  field#0(2)[] R = load("../data/vorttest-rand.nrrd") ⊛ tent;  field#0(2)[] R = image("../data/vorttest-rand.nrrd") ⊛ tent;
16    
17  strand LIC (int xi, int yi) {  strand LIC (int xi, int yi) {
18      real xx = lerp(0.0, 3.0, -0.5, real(xi), real(imgSizeX)-0.5);      real xx = lerp(0.0, 3.0, -0.5, real(xi), real(imgSizeX)-0.5);

Legend:
Removed from v.3062  
changed lines
  Added in v.3063

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