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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/zslice-k1k2.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/zslice-k1k2.diderot

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

revision 889, Wed Apr 20 14:44:48 2011 UTC revision 890, Wed Apr 20 14:56:43 2011 UTC
# Line 35  Line 35 
35             // it assesses if we're within one of the quadratic patches             // it assesses if we're within one of the quadratic patches
36             if (g[2] > 0.10) {             if (g[2] > 0.10) {
37                vec3 n = normalize(g);                vec3 n = normalize(g);
38                  // HEY (BUG) using "-∇(∇F)@pos" instead of "-1.0*∇(∇F)@pos" causes:
39                  // uncaught exception Fail [Fail: Error in compiling zslice-k1k2.diderot]
40                  //   raised at driver/main.sml:31.39-31.76
41                tensor[3,3] H = -1.0*∇(∇F)@pos; // replace with -∇(∇F)@pos                tensor[3,3] H = -1.0*∇(∇F)@pos; // replace with -∇(∇F)@pos
42                tensor[3,3] P = identity[3] - n⊗n;                tensor[3,3] P = identity[3] - n⊗n;
43                tensor[3,3] G = (P•H•P)/|g|;                tensor[3,3] G = (P•H•P)/|g|;

Legend:
Removed from v.889  
changed lines
  Added in v.890

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