Rigid

class hoomd.filter.Rigid(flags=('center',))

Bases: ParticleFilter

Select particles based on inclusion in rigid bodies.

Parameters:

flags (tuple [str ], optional) – A tuple of strings of values “center”, “constituent”, or “free”. These string flags specify what kinds of particles to filter: “center” will include central particles in a rigid body, “constituent” will include non-central particles in a rigid body, and “free” will include all particles not in a rigid body. Specifying all three is the same as hoomd.filter.All. The default is ("center",)

Base: ParticleFilter

Examples:

rigid_center_and_free = hoomd.filter.Rigid(flags=("center", "free"))
rigid_center = hoomd.filter.Rigid(flags=("center",))

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...