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

# SCM Repository

[diderot] Diff of /branches/charisee/ertest/vispaper/iso3d/iso3d.diderot
 [diderot] / branches / charisee / ertest / vispaper / iso3d / iso3d.diderot

# Diff of /branches/charisee/ertest/vispaper/iso3d/iso3d.diderot

revision 2899, Fri Feb 27 19:51:13 2015 UTC revision 2919, Tue Mar 3 00:39:22 2015 UTC
# Line 20  Line 20
20  // isosurface of |∇V|: works  // isosurface of |∇V|: works
21  //field#1(3)[] F = |∇V| - 1;  //field#1(3)[] F = |∇V| - 1;
22
// lifting vector op to constant vector and field: does not work?
field#1(3)[] F = ∇V • [1,0,0];
//field#1(3)[] F = |∇V - [1,0,0]|;

23  // lifting vector op to two fields  // lifting vector op to two fields
24  // field#1(3)[] F = ∇V • ∇U - 1;  // does work  // field#1(3)[] F = ∇V • ∇U - 1;  // does work
25  //field#1(3)[] F = |∇V - ∇U| - 0.01; // never finishes compiling?  //field#1(3)[] F = |∇V - ∇U| - 0.5; // does work
26
27    // lifting vector op to constant vector and field: seems to work as of r2906
28    //field#1(3)[] F = |∇V - [0.5,0,0]| - 0.5;
29
30    //__________________ things that aren't working
31
32    // BUG1: lifting vector op to constant vector and field: does not work?
33    //   [iso3d.diderot:24.1-25.0] Error: type error for arguments of binary operator "•"
34    //    found: (field#1(3)[3] * vec3)
35    field#1(3)[] F = ∇V • [1,0,0];
36
37    // BUG2: trying operation on a normalized gradient; never seems to finish compiling
38    // eventually starts printing things like:
39    //   ../../../bin/diderotc: Error -- unable to map 1071775744 bytes, errno = 12
40    //   ../../../bin/diderotc: Error -- unable to allocate to-space for generation 5; trying smaller size
41    //   ../../../bin/diderotc: Error -- unable to map 1073152000 bytes, errno = 12
42    //   ../../../bin/diderotc: Error -- unable to allocate to-space for generation 5; trying smaller size
43    //field#1(3)[3] N = ∇V/|∇V|;
44    field#1(3)[] F = ∇•N;
45
46  int grid = 30;  int grid = 30;
47  int stepsMax = 10;  int stepsMax = 10;

Legend:
 Removed from v.2899 changed lines Added in v.2919

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