Oct-tree code

Xia Ma

Abstract

This page shows the performance of my Oct-tree code.

Results
 

   site number    .1e+05    .2e+05     .4e+05   .8e+05 .2e+06 .4e+06 .1e+7
  CPU(construct) minutes      .0035     .0103     .0407     .2665    1.9720    7.6748   32.5
 CPU(querry neighbor)
second
         0        0         0         0       0       0    0.001
 

 

Download and running
 

1. source files: source.tar.gz
2. compile: g++ -O drive.C
3. running: a.out -n400000
              or: a.out -n400000 data
     where data is the filename of the position of your particles. It should be in 3 column (x,y,z)
     and more than 400000 rows which is the number of particles.