ParticleSorter¶
- class hoomd.tune.ParticleSorter(trigger=200, grid=None)¶
Bases:
TunerOrder particles in memory to improve performance.
- Parameters:
trigger (hoomd.trigger.trigger_like) – Select the timesteps on which to sort. Defaults to a
hoomd.trigger.Periodic(200)trigger.grid (int) – Resolution of the grid to use when sorting. The default value of
Nonesetsgrid=4096in 2D simulations andgrid=256in 3D simulations.
ParticleSorterimproves simulation performance by sorting the particles in memory along a space-filling curve. This takes particles that are close in space and places them close in memory, leading to a higher rate of cache hits when computing pair potentials.Note
New
hoomd.Operationsinstances include aParticleSorterconstructed with default parameters.Members inherited from
AutotunedObject:- property kernel_parameters¶
Kernel parameters.
Read more...
- property is_tuning_complete¶
Check if kernel parameter tuning is complete.
Read more...
- tune_kernel_parameters()¶
Start tuning kernel parameters.
Read more...
Members inherited from
TriggeredOperation:- trigger¶
The trigger to activate this operation.
Read more...
Members defined in
ParticleSorter: