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

SCM Repository

[diderot] Diff of /branches/charisee/test/E-tRewrites.diderot
ViewVC logotype

Diff of /branches/charisee/test/E-tRewrites.diderot

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

revision 2607, Thu May 1 17:36:16 2014 UTC revision 2608, Fri May 2 18:04:54 2014 UTC
# Line 49  Line 49 
49  vec3 ll=mm;  vec3 ll=mm;
50  vec3 xx=mm+ll;  vec3 xx=mm+ll;
51    
52  /*  
53    
54  tensor [3,3] m2=cross1 ⊗ cross2;  tensor [3,3] m2=cross1 ⊗ cross2;
55  tensor [3,3] m3=-m2;  tensor [3,3] m3=-m2;
56  tensor [3,3] m4=m2*77;  tensor [3,3] m4=m2*77;
57   tensor [3,3] m5=m4*1;   tensor [3,3] m5=m4*1;
58  */  
59    
60   vec3 a5=cross1 × t0;   vec3 a5=cross1 × t0;
61   vec3 rr=a5+ t2;   vec3 rr=a5+ t2;
62    
# Line 63  Line 64 
64   vec3 G=t0+t1;   vec3 G=t0+t1;
65  strand tensorTest (int row)  strand tensorTest (int row)
66  {  {
67     tensor [3,3] A1=aa+bb+cc+m1+m2+m3+m4+m5;
68     tensor [6] A2= b;
69     real A3=s1+s2+s3;
70     vec3 A4=s10+s11+test+xx+a5+rr+G;
71    
72      //  vec3 F=cross1+cross2+cross3+s10+s11+test+mm+ll+xx+a5+rr;
     vec3 F=cross1+cross2+cross3+s10+s11+test+mm+ll+xx+a5+rr;  
73      //tensor [3,3] M=m1+m2+m3+m4+m5;      //tensor [3,3] M=m1+m2+m3+m4+m5;
74      real S=s1+s2+s3;      //real S=s1+s2+s3;
75      update      update
76      {      {
77    

Legend:
Removed from v.2607  
changed lines
  Added in v.2608

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