Before

class hoomd.trigger.Before(timestep)

Bases: Trigger

Trigger on all steps before a given step.

Parameters:

timestep (int) – The step after the trigger ends.

Before evaluates True for all time steps less than the timestep:

return t < timestep

Example:

trigger = hoomd.trigger.Before(5000)

Members inherited from Trigger:

__call__()

Evaluate the trigger. Read more...

compute()

Evaluate the trigger. Read more...


Members defined in Before:

timestep

The step after the trigger ends.

Type:

int

__eq__(other)

Test for equivalent triggers.

__str__()

Human readable representation of the trigger as a string.