write_equations
Replace or create C++ equation source files for LSD models, keeping .bak and .orig backups; only models in the models folder can be written.
Instructions
Replace the model's equation file with content (complete C++ source),
or the source file named by file (plain name, .cpp, .h or .hpp; a new
file is created if it does not exist). The version before the latest write
is kept as .bak and the one before the first write as .orig.
Only models in the models folder can be written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| model | Yes | ||
| content | Yes |