ppmd.plain_cell_list module

class ppmd.plain_cell_list.PlainCellList(cell_width, local_boundary, n=100)

Bases: object

Provides basic cell list capabilities with padded regions for halo particles.

property max_cell_contents_count
sort(positions, npart)

Sort particles into cells :param positions: ParticleDat to use for positions. :param npart: Number of particles to sort.