import { ReactionRegistry } from '@driftengine/chemistry';
Constructor
constructor(species: SpeciesRegistry)
Accessors
| Name | Type | Description |
countget | number | |
Methods
register(reaction: Reaction): number
| Parameter | Type | Description |
reaction | Reaction | |
indexOf(id: string): number
| Parameter | Type | Description |
id | string | |
idOf(reaction: number): string
| Parameter | Type | Description |
reaction | number | |
kindOf(reaction: number): ReactionKind
| Parameter | Type | Description |
reaction | number | |
enthalpyOf(reaction: number): number
J per unit extent. Negative releases heat; positive absorbs it.
| Parameter | Type | Description |
reaction | number | |
rateTableOf(reaction: number): RateTable
| Parameter | Type | Description |
reaction | number | |
minTemperatureOf(reaction: number): number
K below which this reaction does not run at all.
| Parameter | Type | Description |
reaction | number | |
maxTemperatureOf(reaction: number): number
K above which it does not run at all.
| Parameter | Type | Description |
reaction | number | |
gateWidthOf(reaction: number): number
K over which the lower gate opens rather than snapping.
| Parameter | Type | Description |
reaction | number | |
transportLimitOf(reaction: number): number
The ceiling transport puts on this reaction in still air, per second. Zero means none.
| Parameter | Type | Description |
reaction | number | |
rateTableOrNull(reaction: number): RateTable | null
The table, or null where the reaction is instant. What the localiser packs.
| Parameter | Type | Description |
reaction | number | |
rateOf(reaction: number, temperature: number): number
The rate constant at a temperature. An instant reaction answers with a very large number.
| Parameter | Type | Description |
reaction | number | |
temperature | number | |
reactantSpecies(reaction: number): Int32Array
| Parameter | Type | Description |
reaction | number | |
reactantMoles(reaction: number): Float64Array
| Parameter | Type | Description |
reaction | number | |
productSpecies(reaction: number): Int32Array
| Parameter | Type | Description |
reaction | number | |
productMoles(reaction: number): Float64Array
| Parameter | Type | Description |
reaction | number | |