JuliaMolSim / Molly.jl

Molecular simulation in Julia
Other
372 stars 51 forks source link

up interface for celllistmap 0.7.0 #45

Closed lmiq closed 2 years ago

lmiq commented 2 years ago

Dear @jgreener64, I have updated the interface of the CellListMap neighbor finder to the 0.7.0 version, which has some breaking changes (hopefully the last ones until 1.0).

The changes are:

Tests are passing here.

Performance should not be significantly affected, but for specific, particularly small (~10^4 particles) you may experience small slowdowns, maybe, but nothing really important. Anyway, the bottlenecks are now much more clear and any improvement on this side will be performed from v0.7 on.

The code, particularly because the units can be propagated through CellListMap, is simpler now.

Happy new year.

codecov[bot] commented 2 years ago

Codecov Report

Merging #45 (5400dfa) into master (48a9713) will increase coverage by 0.45%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
+ Coverage   72.05%   72.50%   +0.45%     
==========================================
  Files          24       24              
  Lines        1839     1833       -6     
==========================================
+ Hits         1325     1329       +4     
+ Misses        514      504      -10     
Impacted Files Coverage Δ
src/neighbors.jl 91.39% <100.00%> (+2.85%) :arrow_up:
src/types.jl 72.05% <0.00%> (+7.35%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 48a9713...5400dfa. Read the comment docs.

jgreener64 commented 2 years ago

Great, thanks for doing this.