On

class hoomd.trigger.On(timestep)

Bases: Trigger

Trigger on a specific timestep.

Parameters:

timestep (int) – The timestep to trigger on.

On returns True for steps equal to timestep:

return t == timestep

Example:

trigger = hoomd.trigger.On(1000)

Members inherited from Trigger:

__call__()

Evaluate the trigger. Read more...

compute()

Evaluate the trigger. Read more...


Members defined in On:

timestep

The timestep to trigger on.

Type:

int

__eq__(other)

Test for equivalent triggers.

__str__()

Human readable representation of the trigger as a string.