Not

class hoomd.trigger.Not(trigger)

Bases: Trigger

Negate a trigger.

Parameters:

trigger (hoomd.trigger.Trigger) – The trigger object to negate.

Not returns the boolean negation of trigger:

return not trigger(t)

Example:

trigger = hoomd.trigger.Not(other_trigger)

Members inherited from Trigger:

__call__()

Evaluate the trigger. Read more...

compute()

Evaluate the trigger. Read more...


Members defined in Not:

trigger

The trigger object to negate.

Type:

hoomd.trigger.Trigger

__eq__(other)

Test for equivalent triggers.

__reduce__()

Format trigger for pickling.

__str__()

Human readable representation of the trigger as a string.