[root]/SimulationRuntime/c/emcc
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 4 (100.0%) | 58 (100.0%) | 14.5 |
sjoelund.se | 3 (75.0%) | 57 (98.3%) | 19.0 |
hudson | 1 (25.0%) | 1 (1.7%) | 1.0 |
Allow the user to override start-values and parameters in the JavaScript webworker
- By sending {basename: basename, override: {r: 35, stopTime: stopTime, tolerance: tolerance, stepSize: +stopTime / intervals}}, all override variables are joined and sent as argv in the simulation
6 lines of code changed in 1 file:
- JavaScript target: Use separate xml-files instead of embedding in the JS
- Backend: Propagate "protected" boolean to SimCode
27 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
Some updates to the JavaScript target
- pre.js is now included with the omc sources
- It is now possible to use nodejs to run the generated code. An executable wrapper script is generated and the simulate() command now works
- The XML files are embedded within the JS code now (just like we do for FMI)
- We use -override arguments to pass stopTime,stepSize,tolerance and outputFormat instead of a full xml-file in a virtual file system
24 lines of code changed in 1 file: