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

SCM Repository

[diderot] View of /branches/charisee/ertest/tests/laplac2-x0/laplac2-x0.diderot
ViewVC logotype

View of /branches/charisee/ertest/tests/laplac2-x0/laplac2-x0.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2870 - (download) (annotate)
Wed Feb 25 21:47:43 2015 UTC (4 years, 5 months ago) by cchiw
File size: 389 byte(s)
added sqrt,pow, and examples
field#2(2)[] S2= load("../../../data/parab/parab2-150.nrrd") ⊛ bspln3;


int imgSizeX = 1020;
int imgSizeY = 561;


strand tensorTest (int row)
{
    vec2 pos2=[row,row];

     
        output real x0=0;

       update
    {
         if (inside(pos2,S2)){
            x0=trace(∇⊗∇S2(pos2));
    
            }
    stabilize;
  }
}

initially [ tensorTest(r) | r in 0..imgSizeX-1];

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