Mechanism
A reaction mechanism: ordered steps with optional spectator ions.
Fields
Section titled “Fields”| Field | Type | Example |
|---|---|---|
steps | Array<Step> | See below |
spectators | Array<String> | ["Na+"] |
Step struct
Section titled “Step struct”Mechanism::Step = Struct.new(:label, :reaction, keyword_init: true)See Reaction mechanisms syntax for input format.