Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

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

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

revision 888, Wed Apr 20 14:38:13 2011 UTC revision 889, Wed Apr 20 14:44:48 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);
// HEY BUG: "-∇(∇F)@pos" in line below causes:
// uncaught exception Fail [Fail: Error in compiling zslice-k1k2.diderot]
//  raised at driver/main.sml:31.39-31.76
// while "-∇F@pos" (used above) is okay
38                tensor[3,3] H = -1.0*∇(∇F)@pos; // replace with -∇(∇F)@pos                tensor[3,3] H = -1.0*∇(∇F)@pos; // replace with -∇(∇F)@pos
39                tensor[3,3] P = identity[3] - n⊗n;                tensor[3,3] P = identity[3] - n⊗n;
40                tensor[3,3] G = (P•H•P)/|g|;                tensor[3,3] G = (P•H•P)/|g|;

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