Barnes-Hut algorithm written in Rust.
Use the algorithm on particles in file foo.txt
that contains particle positions and charges in the form of x y z q
. Run the algorithm by writing the following line to console:
cargo run -- foo.txt
More about the implementation here.