Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Oct 8, 2024
1 parent 5358cc1 commit c338969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mono_atomic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ function pack_monoatomic!(
else
volume = prod(unitcell)
end
packing_tol = tol + tol/10 # this avoids slow convergence
packing_tol = tol + tol / 10 # this avoids slow convergence
ncells = min(volume / packing_tol^N, length(positions))
cutoff = (volume / ncells)^(1/N)
cutoff = (volume / ncells)^(1 / N)
println("Using cell list cutoff: ", cutoff)
println("Using packing tolerance: ", packing_tol)
system = ParticleSystem(
Expand Down

0 comments on commit c338969

Please sign in to comment.