-
Hi all, I am running MD simulations with two particle types (A,B) such that B is much larger than A. This results in the pairwise interactions involving B having a much larger cutoff radius than the A-A interactions. It seems excessive to store all A-A separations with the cutoff radius necessary for the B interactions. I was wondering if it was possible to use a neighbor list (or combination of neighbor lists) such that cutoff radius for A-B and B-B separations is large but the cutoff radius for A-A separations is small. The documentation for the neighbor list structures state the following: These two statements seem to imply what I am asking to do is impossible, but am curious if there is a workaround. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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.