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

SCM Repository

[diderot] Annotation of /branches/vis12/bugs/bug014.diderot
ViewVC logotype

Annotation of /branches/vis12/bugs/bug014.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2207 - (view) (download)

1 : glk 2207 /*
2 :     ** BUG?
3 :     ** is this not how a vec2 or vec3 sequence is supposed to be loaded,
4 :     ** and used for initialization?
5 :     ** This program works for "real", but not vec2's or vec3's
6 :     ** To see problem, do a search-and-replace:
7 :     ** real -> vec2, or
8 :     ** real -> vec3,
9 :     ** excluding this comment block, but
10 :     ** including the data/????.nrrd filename
11 :     */
12 :     real{} posInit = load("data/real.nrrd");
13 :     int posNum = length(posInit);
14 :    
15 :     int imgSizeX = 30;
16 :     int imgSizeY = 20;
17 :    
18 :     strand LIC (int ii, real pos0) {
19 :     output real pos = pos0;
20 :    
21 :     update {
22 :     print(ii, ": ", pos, "\n");
23 :     stabilize;
24 :     }
25 :     }
26 :    
27 :     initially { LIC(ii, posInit{ii}) | ii in 0..posNum-1 };

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