FastBuild Module
Functions and values
| Function or value | Description |
Full Usage:
buildFastSimulation simulationArraySize diagramName graph
Parameters:
int
diagramName : string
graph : SimulationGraph
Returns: Result<FastSimulation, SimulationError>
|
|
Full Usage:
buildFastSimulationFData simulationArraySize diagramName graph
Parameters:
int
diagramName : string
graph : SimulationGraph
Returns: Result<FastSimulation, SimulationError>
|
|
|
|
|
Bind each simulated component's reducer to the component itself, once, when the simulation is built. The loop then calls a component's own code rather than dispatching on FType for every component of every step. EvalCompiled.reducerFor returns None for a type it does not handle yet, and that component keeps the general fastReduce. This must run last. The reducers capture the step arrays their ports currently point at, and linkFastComponents, reLinkIOLabels and addWavesToFastSimulation all re-point ports; a reducer installed before them could hold an array the simulation no longer uses. It is also why only the components that are actually reduced get one - the custom-component FastComponents that addWavesToFastSimulation re-points exist for waveform display and are never reduced.
|