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

SCM Repository

[diderot] Diff of /branches/lamont_dev/test/particle.diderot
ViewVC logotype

Diff of /branches/lamont_dev/test/particle.diderot

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

revision 2038, Tue Oct 16 11:31:02 2012 UTC revision 2039, Wed Oct 17 16:10:37 2012 UTC
# Line 13  Line 13 
13    
14      update {      update {
15           int count = 0;           int count = 0;
16           int step = 3;           foreach(Particle p in sphere(5)){
          int b = 2;  
         foreach(Particle p in radius(5.0)){  
         //  neighbor[count] = p.id;  
17              count = count + 1;              count = count + 1;
             b = count + 2;  
18            }            }
19           neighborCount = count;           neighborCount = count;
20           stabilize;           stabilize;

Legend:
Removed from v.2038  
changed lines
  Added in v.2039

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