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

SCM Repository

[diderot] Diff of /branches/ein16/test/rsmp2d.diderot
ViewVC logotype

Diff of /branches/ein16/test/rsmp2d.diderot

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

revision 2377, Mon Jun 3 19:41:56 2013 UTC revision 2840, Tue Nov 25 19:46:43 2014 UTC
# Line 17  Line 17 
17      update      update
18      {      {
19          if (inside(pos,F)) {          if (inside(pos,F)) {
20            vec2 grad = ∇F@pos;            vec2 grad = ∇F(pos);
21            vxy = [0.1 if F@pos > 0.01 else 0.0, grad[0], grad[1]];            vxy = [0.1 if F(pos) > 0.01 else 0.0, grad[0], grad[1]];
22          }          }
23          stabilize;          stabilize;
24      }      }

Legend:
Removed from v.2377  
changed lines
  Added in v.2840

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