SCM Repository
[diderot] Diff of /branches/pure-cfg/test/rsmp2d.diderot
Diff of /branches/pure-cfg/test/rsmp2d.diderot
Parent Directory
|
Revision Log
|
Patch
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.724 |
|
changed lines |
|
Added in v.725 |
|
|