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

Removed minimum_image

This commit is contained in:
Mo8it 2022-01-27 18:48:25 +01:00
parent acebf489b7
commit 01e989c6bb
6 changed files with 15 additions and 34 deletions

View file

@ -111,7 +111,7 @@ function radial_distribution(;
c2 = cs[p2_ind, snapshot_ind]
r⃗₁₂ = c2 - c1
r⃗₁₂ = ReCo.minimum_image(r⃗₁₂, sim_consts.half_box_len)
r⃗₁₂ = ReCo.restrict_coordinates(r⃗₁₂, sim_consts.half_box_len)
distance = ReCo.norm2d(r⃗₁₂)