LinkCell

Issue #12 resolved
Richmond Newman created an issue

Should we make LinkCell handle cases with fewer than 3 cells wide, so that code relying on it do not have to write a separate codepath for iterating over particles? Currently several modules do not work on small boxes, as so far I can remember.

Comments (3)

  1. Joshua Anderson

    +1

    This is how hoomd does it now. It greatly simplifies code. If there is ever extra performance to be had in specific modules, they can always implement separate code paths for small boxes (or large cutoffs). But it would be great to have the default always work.

  2. Log in to comment