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

SCM Repository

[diderot] Annotation of /tests/lamont-tests/test-sphere1.diderot
ViewVC logotype

Annotation of /tests/lamont-tests/test-sphere1.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (view) (download)

1 : glk 4640 #version 2
2 :    
3 :     input real queryRadius = 5;
4 :    
5 :     strand S (real x)
6 :     {
7 :     real pos = x;
8 :     output int numNeighbors = 0;
9 :    
10 :     update {
11 :     numNeighbors = length (sphere (pos, queryRadius));
12 :     stabilize;
13 :     }
14 :    
15 :     }
16 :    
17 :     create_collection { S(x) | x in 0..100 }

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