Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement barebones interface to CellListMap.jl for neighbor lists #32

Merged
merged 6 commits into from
May 6, 2023

Conversation

mastrof
Copy link
Owner

@mastrof mastrof commented May 5, 2023

Closes #31.

The goal here was to address #30, so only two types of neighbor lists are supported

  1. a neighbor list between all microbes in a model
  2. a neighbor list between all microbes in a model and a given collection of static objects

Neighbor lists between different microbe groups might be implemented in the future (could be useful for interactions between different species or similar things).

The support is limited to 2- and 3-dimensional systems due to CellListMap.jl limitations (but it's probably not that useful for 1D systems anyway... no big deal I guess)

@codecov
Copy link

codecov bot commented May 5, 2023

Codecov Report

Patch coverage: 59.45% and project coverage change: -0.12 ⚠️

Comparison is base (2097fc5) 60.96% compared to head (b4388cc) 60.85%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
- Coverage   60.96%   60.85%   -0.12%     
==========================================
  Files          18       19       +1     
  Lines         456      493      +37     
==========================================
+ Hits          278      300      +22     
- Misses        178      193      +15     
Impacted Files Coverage Δ
src/neighborlists.jl 59.45% <59.45%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mastrof mastrof merged commit e6da849 into main May 6, 2023
@mastrof mastrof deleted the neighborlists branch May 6, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement interface to CellListMap.jl for neighbor lists
1 participant