On¶
- class hoomd.trigger.On(timestep)¶
Bases:
TriggerTrigger on a specific timestep.
- Parameters:
timestep (int) – The timestep to trigger on.
OnreturnsTruefor steps equal totimestep: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:- __eq__(other)¶
Test for equivalent triggers.
- __str__()¶
Human readable representation of the trigger as a string.