StepIndex Type
Where one clock step sits in the circular simulation arrays: the step number itself, its index into the arrays, and the index of the step before it. All three follow from the step number, so the simulation loop works them out once per step and hands the same value to every component - numStep % maxArraySize is an integer division, and it used to be redone for every component of every step. A struct so that passing it costs nothing.
Record fields
| Record Field | Description |
Full Usage:
NumStep
Field type: int
|
|
Full Usage:
SimStep
Field type: int
|
|
Full Usage:
SimStepOld
Field type: int
|
|