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

SCM Repository

[diderot] View of /branches/vis15/src/tests/lamont-tests/test-sphere1.diderot
ViewVC logotype

View of /branches/vis15/src/tests/lamont-tests/test-sphere1.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4497 - (download) (annotate)
Sat Sep 3 14:12:36 2016 UTC (2 years, 6 months ago) by jhr
File size: 241 byte(s)
  working on merge: updating tests with new version 2 syntax
#version 2

input real queryRadius = 5;

strand S (real x)
{
    real pos = x;
    output int numNeighbors = 0;

    update {
	numNeighbors = length (sphere (pos, queryRadius));
	stabilize;
    }

}

create_collection { S(x) | x in 0..100 }

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