SciML / Catalyst.jl

Chemical reaction network and systems biology interface for scientific machine learning (SciML). High performance, GPU-parallelized, and O(1) solvers in open source software.
https://docs.sciml.ai/Catalyst/stable/
Other
460 stars 77 forks source link

add option to turn off auto-discovery of species / parameters / variables #1045

Open isaacsas opened 3 weeks ago

isaacsas commented 3 weeks ago

It seems like some users, especially anyone with a longer model, may prefer to have the DSL require all species, parameters, and variables to be pre-declared (to help with catching / avoiding typos in reactions and equations). We should add a DSL option to disable auto-discovery of these and instead give an informative error if a non-predeclared symbol is encountered.