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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2863 - (download) (annotate)
Wed Feb 4 04:37:33 2015 UTC (6 years, 7 months ago) by cchiw
File size: 421 byte(s)
added rtest2
field#2(2)[] s2= image ("../../../data/parab/parab2-150.nrrd") ⊛bspln3;

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


        vec2 pos2 = [xi,yi];
        output real out=99;
    
       update
    {
        if (inside(pos2,s2))
        {
            out=∇×∇s2(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