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

SCM Repository

[diderot] Diff of /branches/charisee/ertest/tests/hessian2-x0/hessian2-x0.diderot
ViewVC logotype

Diff of /branches/charisee/ertest/tests/hessian2-x0/hessian2-x0.diderot

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

revision 2869, Thu Feb 12 16:14:22 2015 UTC revision 2870, Wed Feb 25 21:47:43 2015 UTC
# Line 1  Line 1 
1  image(2)[2] Fimg= load("../../../data/turb2d.nrrd");  image(2)[2] Fimg= load("../../../data/turb2d.nrrd");
   
 field#1(2)[2] F= Fimg ⊛ ctmr; //support 2  
2  field#2(2)[2] G= Fimg ⊛ bspln3; //support 2  field#2(2)[2] G= Fimg ⊛ bspln3; //support 2
3    
4  int imgSizeX = 10;  int imgSizeX = 10;
5  int imgSizeY = 10;  int imgSizeY = 10;
6  strand fieldTest (int xi, int yi) {  strand fieldTest (int xi, int yi) {
7         real xx = lerp(0.3, 6.75, 0.0, real(xi), real(imgSizeX)-1.0);         real xx = lerp(0.3, 6.75, 0.0, real(xi), real(imgSizeX)-1.0);
8         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);
9         vec2 pos = [xx,yy];         vec2 pos = [xx,yy];
10          vec2 c=[99,99];  
11          output tensor[2,2,2] x0=∇⊗∇⊗G(pos);          output tensor[2,2,2] x0=∇⊗∇⊗G(pos);
12    
13    

Legend:
Removed from v.2869  
changed lines
  Added in v.2870

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