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

SCM Repository

[diderot] Annotation of /branches/vis12/rtest2/tests/curl2-x1/curl2-x1.diderot
ViewVC logotype

Annotation of /branches/vis12/rtest2/tests/curl2-x1/curl2-x1.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2863 - (view) (download)

1 : cchiw 2863 field#2(2)[] s2= image ("../../../data/parab/parab2-150.nrrd") ⊛bspln3;
2 :    
3 :     int imgSizeX = 5;
4 :     int imgSizeY = 5;
5 :     strand tensorTest (int xi,int yi)
6 :     {
7 :    
8 :    
9 :     vec2 pos2 = [xi,yi];
10 :     output real out=99;
11 :    
12 :     update
13 :     {
14 :     if (inside(pos2,s2))
15 :     {
16 :     out=∇×∇s2(pos2);
17 :     }
18 :    
19 :     stabilize;
20 :     }
21 :     }
22 :    
23 :     initially [ tensorTest(xi, yi) | yi in 0..(imgSizeY-1), xi in 0..(imgSizeX-1) ];

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