SCM Repository
[diderot] Diff of /benchmarks/programs/lic2d/bmark-diderot.diderot
Diff of /benchmarks/programs/lic2d/bmark-diderot.diderot
Parent Directory
|
Revision Log
|
Patch
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.1596 |
|
changed lines |
|
Added in v.3052 |
|
|