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

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/glk-tests/new/laplgrad.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/glk-tests/new/laplgrad.diderot

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

revision 4496, Sat Sep 3 13:52:11 2016 UTC revision 4497, Sat Sep 3 14:12:36 2016 UTC
# Line 1  Line 1 
1    #version 2
2    
3  // laplgrad: tests if laplacian gradient is being computed correctly  // laplgrad: tests if laplacian gradient is being computed correctly
4    
# Line 6  Line 7 
7    
8  input real epsilon = 0.0001;  input real epsilon = 0.0001;
9  int gridSize = 300;  int gridSize = 300;
10  field#4(2)[] F = bspln5 ⊛ image("../data/ddro-64.nrrd");  field#4(2)[] F = bspln5 ⊛ load_image("../data/ddro-64.nrrd");
11  input bool norm = false;  input bool norm = false;
12    
13  strand sample (int ui, int vi) {  strand sample (int ui, int vi) {
# Line 34  Line 35 
35      }      }
36  }  }
37    
38  grid(2) { sample(ui, vi) | vi in 0..(gridSize-1), ui in 0..(gridSize-1) }  create_array { sample(ui, vi) | vi in 0..(gridSize-1), ui in 0..(gridSize-1) }

Legend:
Removed from v.4496  
changed lines
  Added in v.4497

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