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

SCM Repository

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

Diff of /branches/lamont/test/lic-turb2d.diderot

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

revision 1685, Sun Jan 22 15:23:36 2012 UTC revision 1927, Sat Jun 23 18:09:16 2012 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("v.nrrd") ⊛ ctmr;  field#1(2)[2] V = image("v.nrrd") ⊛ ctmr;
32  field#0(2)[] R = load("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.1685  
changed lines
  Added in v.1927

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