Skip to content

Neighbor list with type dependent cutoff radius #1680

Answered by mphoward
LangLuke asked this question in Support
Discussion options

You must be logged in to vote

The documentation is slightly unclear there, but the maximum is done per pair of types (i, j). So, the cutoff for the A-A interactions can indeed be much smaller than A-B or B-B, and HOOMD will handle this correctly out of the box.

I rewrote the neighbor list code several years ago because of exactly the issue and application you are describing, and I recommend using md.nlist.Tree for your neighbor list method. It was optimized for size asymmetric systems.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@joaander
Comment options

@LangLuke
Comment options

Answer selected by LangLuke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
3 participants