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

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/rtest/tests/arcsine/arcsine.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/rtest/tests/arcsine/arcsine.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4257, Mon Jul 25 15:23:32 2016 UTC revision 4258, Mon Jul 25 16:10:15 2016 UTC
# Line 1  Line 1 
   
 field#3(2)[] s3= image ("../../data/parab/parab2-150.nrrd") ⊛ bspln5;  
1  field#3(2)[] s=  image("../../data/ddro-80.nrrd") ⊛bspln5;  field#3(2)[] s=  image("../../data/ddro-80.nrrd") ⊛bspln5;
2  field#2(2)[2] c=∇(asin(s));  field#2(2)[2] c=∇(asin(s));
3    
# Line 8  Line 6 
6    
7  //∇⊗∇(cosF(s));  //∇⊗∇(cosF(s));
8    
9  strand RootFind(real xi,real yi) {  strand S (real xi, real yi) {
10      vec2 pos=[xi,yi];      vec2 pos=[xi,yi];
11        output vec2 out = [0, 0];
12      //what the rewrite should be      //what the rewrite should be
     vec2 d=(1/d0(pos))*d1(pos);  
     output vec2 out = c(pos)-d;  
13    
14      update {      update {
15            if (inside(pos, c)) {
16                vec2 d = (1/d0(pos))*d1(pos);
17                vec2 out = c(pos)-d;
18            }
19          stabilize;          stabilize;
20      }      }
21  }  }
22    
23  initially { RootFind(vi, ui)  initially { S(vi, ui) | vi in 0..10, ui in 0..10 };
             | vi in 0..10, ui in 0..10 };  

Legend:
Removed from v.4257  
changed lines
  Added in v.4258

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