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

SCM Repository

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

Diff of /branches/pure-cfg/test/rsmp2d.diderot

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

revision 723, Fri Apr 1 22:55:25 2011 UTC revision 725, Fri Apr 1 23:02:38 2011 UTC
# Line 22  Line 22 
22            real f = F@pos;            real f = F@pos;
23            vec2 grad = ∇F@pos;            vec2 grad = ∇F@pos;
24            // HEY (BUG) what happened to vector indexing?            // HEY (BUG) what happened to vector indexing?
25            //vxy = [0.1 if f > 0.01 else 0.0, grad[0], grad[1]];            vxy = [0.1 if f > 0.01 else 0.0, grad[0], grad[1]];
26            vxy = [0.1 if f > 0.01 else 0.0, dot(grad, [1.0,0.0]), dot(grad, [0.0,1.0])];            //vxy = [0.1 if f > 0.01 else 0.0, dot(grad, [1.0,0.0]), dot(grad, [0.0,1.0])];
27          }          }
28          stabilize;          stabilize;
29      }      }

Legend:
Removed from v.723  
changed lines
  Added in v.725

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