Or¶
- class hoomd.trigger.Or(triggers)¶
Bases:
TriggerBoolean or operation.
OrreturnsTruewhen any of the input triggers returnsTrue:return any([f(t) for f in triggers])
Example:
trig = hoomd.trigger.Or([other_trigger1, other_trigger2])
Members inherited from
Trigger:- __call__()¶
Evaluate the trigger.
Read more...
- compute()¶
Evaluate the trigger.
Read more...
Members defined in
Or:- __eq__(other)¶
Test for equivalent triggers.
- __reduce__()¶
Format trigger for pickling.
- __str__()¶
Human readable representation of the trigger as a string.