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

SCM Repository

[diderot] Diff of /branches/vis12-cl/rtest/tests/curl2d/curl2d.diderot
ViewVC logotype

Diff of /branches/vis12-cl/rtest/tests/curl2d/curl2d.diderot

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

revision 3159, Sat Mar 28 09:40:50 2015 UTC revision 3160, Sat Mar 28 10:17:30 2015 UTC
# Line 5  Line 5 
5  int imgSizeX = 16;  int imgSizeX = 16;
6  int imgSizeY = 16;  int imgSizeY = 16;
7    
8  field#1(2)[2] V = image("../../data/const-curl2d.nrrd") ⊛ bspln3;  input image(2)[2] img = image("../../data/const-curl2d.nrrd");
9    field#1(2)[2] V = img ⊛ bspln3;
10    //field#1(2)[2] V = image("../../data/const-curl2d.nrrd") ⊛ bspln3;
11    
12  strand CURL (int xi, int yi) {  strand CURL (int xi, int yi) {
13          real xx = lerp(2.00, 17.0, 0.0, real(xi), real(imgSizeX)-1.0);          real xx = lerp(2.00, 17.0, 0.0, real(xi), real(imgSizeX)-1.0);

Legend:
Removed from v.3159  
changed lines
  Added in v.3160

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