mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2025-09-02 09:02:35 +00:00
Fix typos
This commit is contained in:
parent
88f8ea2aba
commit
89cc431fd2
12 changed files with 86 additions and 85 deletions
|
@ -72,22 +72,22 @@ function radial_distribution(;
|
|||
|
||||
bundle_paths = ReCo.sorted_bundle_paths(sim_dir; rev=true)
|
||||
|
||||
snapshot_conunter = 0
|
||||
snapshot_counter = 0
|
||||
break_bundle_path_loop = false
|
||||
|
||||
for bundle_path in bundle_paths
|
||||
bundle::ReCo.Bundle = JLD2.load_object(bundle_path)
|
||||
|
||||
for snapshot_ind in (bundle.n_snapshots):-1:1
|
||||
snapshot_conunter += 1
|
||||
snapshot_counter += 1
|
||||
|
||||
@simd for particle_ind in 1:n_particles
|
||||
cs[particle_ind, snapshot_conunter] = bundle.c[
|
||||
cs[particle_ind, snapshot_counter] = bundle.c[
|
||||
particle_ind, snapshot_ind
|
||||
]
|
||||
end
|
||||
|
||||
if snapshot_conunter == n_last_snapshots
|
||||
if snapshot_counter == n_last_snapshots
|
||||
break_bundle_path_loop = true
|
||||
break
|
||||
end
|
||||
|
@ -98,8 +98,8 @@ function radial_distribution(;
|
|||
end
|
||||
end
|
||||
|
||||
if snapshot_conunter != n_last_snapshots
|
||||
error("snapshot_conunter != n_last_snapshots")
|
||||
if snapshot_counter != n_last_snapshots
|
||||
error("snapshot_counter != n_last_snapshots")
|
||||
end
|
||||
|
||||
g = zeros(Float64, n_radii)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue