1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2025-09-04 09:12:35 +00:00

Renaming and verlet list shrink

This commit is contained in:
MoBit 2021-12-10 03:16:18 +01:00
parent 5001c315ce
commit 50feaee469
11 changed files with 138 additions and 113 deletions

View file

@ -7,14 +7,14 @@ using ReCo
function run_benchmarks(
dir::String="";
N::Int64=1000,
n_particles::Int64=1000,
v::Float64=20.0,
duration::Float64=2.0,
n_bundle_snapshots::Int64=0,
comment="",
)
if length(dir) == 0
dir = init_sim(; N=N, v=v, parent_dir="benchmark")
dir = init_sim(; n_particles=n_particles, v=v, parent_dir="benchmark")
end
benchmark = @benchmark run_sim(
@ -27,7 +27,7 @@ function run_benchmarks(
JSON3.pretty(
f,
Dict(
"N" => N,
"n_particles" => n_particles,
"v" => v,
"duration" => duration,
"n_bundle_snapshots" => n_bundle_snapshots,