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
ViewVC logotype

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

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

revision 2906, Mon Mar 2 17:44:30 2015 UTC revision 2919, Tue Mar 3 00:39:22 2015 UTC
# Line 24  Line 24 
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.5; // does work  //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  //__________________ things that aren't working
31    
32  // lifting vector op to constant vector and field: does not work?  // 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 "•"  //   [iso3d.diderot:24.1-25.0] Error: type error for arguments of binary operator "•"
34  //    found: (field#1(3)[3] * vec3)  //    found: (field#1(3)[3] * vec3)
35  //field#1(3)[] F = ∇V • [1,0,0];  field#1(3)[] F = ∇V • [1,0,0];
   
 // lifting vector op to constant vector and field: does not work?  
 //   [iso3d.diderot:27.18-34] Error: unable to resolve overloaded operator '-'  
 //     argument type is: (field#1(3)[3] * vec3)  
 //field#1(3)[] F = |∇V - [1,0,0]|;  
36    
37  // trying operation on a normalized gradient; never seems to finish compiling  // BUG2: trying operation on a normalized gradient; never seems to finish compiling
38  // eventually starts printing things like:  // eventually starts printing things like:
39  //   ../../../bin/diderotc: Error -- unable to map 1071775744 bytes, errno = 12  //   ../../../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  //   ../../../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  //   ../../../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  //   ../../../bin/diderotc: Error -- unable to allocate to-space for generation 5; trying smaller size
43  field#1(3)[3] N = ∇V/|∇V|;  //field#1(3)[3] N = ∇V/|∇V|;
44  //field#1(3)[] F = ∇•N;  field#1(3)[] F = ∇•N;
45    
46  int grid = 30;  int grid = 30;
47  int stepsMax = 10;  int stepsMax = 10;

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

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