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

SCM Repository

[diderot] View of /branches/vis15/src/tests/ertest/test1/curl3-x3/bug.diderot
ViewVC logotype

View of /branches/vis15/src/tests/ertest/test1/curl3-x3/bug.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4189 - (download) (annotate)
Tue Jul 12 14:31:27 2016 UTC (3 years, 3 months ago) by cchiw
File size: 551 byte(s)
added bugs and example
field#2(3)[] s = image("../../data/vfrhand-nohip.nhdr")⊛ bspln3;
field#2(3)[3] G=  image("../../data/const-curl3d.nrrd") ⊛ bspln5;

strand tensorTest (int xi)
{

    output tensor[] out=99;
       update
    {
  //  vec3 pos = [2.020000, 2.866000, 11.000000];
    vec3 pos = [6.320000, 2.042000, 8.000000];
    if(inside(pos, s)){
        if(inside(pos, G)){
            out=s(pos);
        }
        else{
            out = 55;
        }
    }
    else{
        out = 22;
    }
    stabilize;
  }
}

initially [ tensorTest(xi) |  xi in 0..(5) ];

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