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

SCM Repository

[diderot] View of /branches/charisee/ertest/test2/curl2-x6/curl2-x6.diderot
ViewVC logotype

View of /branches/charisee/ertest/test2/curl2-x6/curl2-x6.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3066 - (download) (annotate)
Sat Mar 14 16:34:25 2015 UTC (4 years, 6 months ago) by cchiw
File size: 491 byte(s)
load->image, det(), S*T
field#3(2)[] s2= image ("../../../data/parab/parab2-150.nrrd") ⊛bspln5;
field#2(2)[2] g2=∇s2;
field#1(2)[] c2=∇×g2;
field#0(2)[2] f2=∇c2;

int imgSizeX = 5;
int imgSizeY = 5;
strand tensorTest (int xi,int yi)
{


        vec2 pos2 = [xi,yi];
        output vec2 out=[99,99];
    
       update
    {
        if (inside(pos2,s2))
        {
            out=f2(pos2);
        }
  
    stabilize;
  }
}

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