some cleanups

This commit is contained in:
Simon Gardling
2021-03-29 13:35:37 +00:00
parent d3342faed2
commit 041d22418e
4 changed files with 37 additions and 27 deletions

View File

@@ -5,7 +5,7 @@ use rand::Rng;
fn main() {
// let n_iterations = 16384;
let n_iterations = 1024;
let n_iterations = 10;
// let n_iterations = 100;
// let n_iterations = 10;
@@ -22,10 +22,8 @@ fn main() {
let diffusivity = 1;
let mut rng = rand::thread_rng();
// let n_populations = 1 + rng.gen_range(1..4);
let n_populations = 1;
let n_populations = 2;
let mut model = model::Model::new(width, height, n_particles, n_populations, diffusivity);
model.print_configurations();