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

SCM Repository

[diderot] Diff of /benchmarks/programs/lic2d/bmark-diderot.diderot
ViewVC logotype

Diff of /benchmarks/programs/lic2d/bmark-diderot.diderot

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

revision 3051, Thu Mar 12 13:42:26 2015 UTC revision 3052, Thu Mar 12 13:50:38 2015 UTC
# Line 10  Line 10 
10  real h = 0.005;    // step size of integration  real h = 0.005;    // step size of integration
11  int stepNum = 10; // take this many steps both upstream and downstream  int stepNum = 10; // take this many steps both upstream and downstream
12    
13  field#2(2)[2] boundary = load("../../data/turb2d.nrrd") ⊛ bspln3;  field#2(2)[2] boundary = image("../../data/turb2d.nrrd") ⊛ bspln3;
14  field#2(2)[2] V = load("../../data/v.nrrd") ⊛ bspln3;  field#2(2)[2] V = image("../../data/v.nrrd") ⊛ bspln3;
15  field#0(2)[] R = load("../../data/R.nrrd") ⊛ tent;  field#0(2)[] R = image("../../data/R.nrrd") ⊛ tent;
16    
17  strand LIC (int xi, int yi) {  strand LIC (int xi, int yi) {
18          real xx = lerp(0.04, 6.76, 0.0, real(xi), real(imgSizeX)-1.0);          real xx = lerp(0.04, 6.76, 0.0, real(xi), real(imgSizeX)-1.0);

Legend:
Removed from v.3051  
changed lines
  Added in v.3052

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