Add some logging to determine what is running
This commit is contained in:
parent
ac6e176801
commit
9640a32674
@ -18,7 +18,7 @@ use crate::system::model::DLASystem;
|
|||||||
|
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser, Debug)]
|
||||||
struct Cli {
|
struct Cli {
|
||||||
seed: u64,
|
seed: u64,
|
||||||
max_particles: usize,
|
max_particles: usize,
|
||||||
@ -29,6 +29,8 @@ struct Cli {
|
|||||||
fn main() {
|
fn main() {
|
||||||
let cli = Cli::parse();
|
let cli = Cli::parse();
|
||||||
|
|
||||||
|
println!("Running: {:?}", cli);
|
||||||
|
|
||||||
let mut sys = DLASystem::<ThreadRng, VectorStorage, LocalRandomWalker>::new(
|
let mut sys = DLASystem::<ThreadRng, VectorStorage, LocalRandomWalker>::new(
|
||||||
ThreadRng::default(),
|
ThreadRng::default(),
|
||||||
cli.max_particles,
|
cli.max_particles,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user