Tags¶
- class hoomd.filter.Tags(tags)¶
Bases:
ParticleFilter
Select particles by tag.
A particle tag is a unique identifier assigned to each particle in the simulation state. When the state is first initialized, it assigns tags 0 through
N_particles
to the particles in the order provided.Base:
ParticleFilter
Example:
tags = hoomd.filter.Tags([0, 1, 2])
Members inherited from
ParticleFilter
:- __hash__()¶
Return a hash of the filter parameters.
Read more...
- __eq__()¶
Test for equality between two particle filters.
Read more...
- __str__()¶
Format a human readable string describing the filter.
Read more...
- __call__()¶
Evaluate the filter.
Read more...
Members defined in
Tags
: