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

SCM Repository

[diderot] Diff of /branches/charisee/ertest/tests/grad-magnitude2/grad-magnitude2.diderot
ViewVC logotype

Diff of /branches/charisee/ertest/tests/grad-magnitude2/grad-magnitude2.diderot

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

revision 3047, Wed Mar 11 18:00:45 2015 UTC revision 3048, Wed Mar 11 20:00:27 2015 UTC
# Line 1  Line 1 
1  field#3(2)[] s= load ("../../../data/parab/parab2-150.nrrd") ⊛ bspln5;  field#3(2)[] s= load ("../../../data/parab/parab2-150.nrrd") ⊛ bspln5;
2  field#0(2)[2] f=∇|∇s|;  field#0(2)[2] f=∇|∇s|;
3    
4    
5  int imgSizeX = 10;  int imgSizeX = 10;
6  int imgSizeY = 10;  int imgSizeY = 10;
7    
# Line 9  Line 10 
10          real yy = lerp(0.6, 3.69, 0.0, real(yi), real(imgSizeY)-1.0);          real yy = lerp(0.6, 3.69, 0.0, real(yi), real(imgSizeY)-1.0);
11          vec2 pos = [xx,yy];          vec2 pos = [xx,yy];
12    
         output tensor [2] t=f(pos);  
13    
14            output tensor [2] t=f(pos);
15          update          update
16          {          {
17              stabilize;              stabilize;

Legend:
Removed from v.3047  
changed lines
  Added in v.3048

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