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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3198 - (download) (annotate)
Thu Jun 25 11:14:38 2015 UTC (4 years ago) by jhr
File size: 623 byte(s)
create a local copy of data sources for rtest2
field#2(2)[] S2= image("../../data/parab2-150.nrrd") ⊛ bspln3;
field#2(2)[] t2= image("../../data/ddro-80.nrrd") ⊛ bspln3;

int imgSizeX = 1020;
int imgSizeY = 561;


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

    

    output  real out=99;

       update
    {
        if (inside(pos2,S2)){
            if (inside(pos2,t2)){
            //out=∇•∇(S2*t2)(pos2);//lhs
             out =(trace(∇⊗∇t2(pos2))*S2(pos2))+(trace(∇⊗∇S2(pos2))*t2(pos2))+((2*∇t2(pos2))•∇(S2)(pos2));//rhs
            }
        }
    
  
    stabilize;
  }
}

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

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