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