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

SCM Repository

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

Diff of /branches/charisee/test/lic-turb2d.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 28  Line 28 
28  real h = 0.005;    // step size of integration  real h = 0.005;    // step size of integration
29  int stepNum = 10; // take this many steps both upstream and downstream  int stepNum = 10; // take this many steps both upstream and downstream
30    
31  field#1(2)[2] V = load("../data/v.nrrd") ⊛ ctmr;  field#1(2)[2] V = image("v.nrrd") ⊛ ctmr;
32  field#0(2)[] R = load("../data/R.nrrd") ⊛ tent;  field#0(2)[] R = image("R.nrrd") ⊛ tent;
33    
34  strand LIC (int xi, int yi) {  strand LIC (int xi, int yi) {
35      real xx = lerp(0.0, 6.78, 0.0, real(xi), real(imgSizeX)-1.0);      real xx = lerp(0.0, 6.78, 0.0, real(xi), real(imgSizeX)-1.0);

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