File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33ProcessBasedModelling.jl follows semver 2.0.
44Changelog is kept with respect to v1 release.
55
6+ ## 1.5
7+
8+ - Add docstring to ` processes_to_mtkeqs ` and list it in the documentation.
9+ (function was already exported but not made public in the docs)
10+
611## 1.4
712
813- Allow ` TimeDerivative(p::Process) ` .
Original file line number Diff line number Diff line change 11name = " ProcessBasedModelling"
22uuid = " ca969041-2cf3-4b10-bc21-86f4417093eb"
33authors = [" Datseris <datseris.george@gmail.com>" ]
4- version = " 1.4 .0"
4+ version = " 1.5 .0"
55
66[deps ]
77ModelingToolkit = " 961ee093-0014-501f-94e3-6117800e7a78"
Original file line number Diff line number Diff line change @@ -201,6 +201,7 @@ when developing a field-specific library.
201201
202202``` @docs
203203processes_to_mtkmodel
204+ processes_to_mtkeqs
204205register_default_process!
205206default_processes
206207default_processes_eqs
Original file line number Diff line number Diff line change 33
44Construct a ModelingToolkit.jl model/system using the provided `processes` and `default` processes.
55The model/system is _not_ structurally simplified. Use the function
6- `processes_to_mtkeqs` to obtain the raw `Vector{Equation}` before it is
6+ [ `processes_to_mtkeqs`](@ref) to obtain the raw `Vector{Equation}` before it is
77passed to the MTK model/system like `ODESystem`.
88
99During construction, the following automations improve user experience:
@@ -62,6 +62,12 @@ function processes_to_mtkmodel(args...;
6262 return sys
6363end
6464
65+ """
66+ processes_to_mtkeqs(args...) → eqs
67+
68+ Same as in [`processes_to_mtkmodel`](@ref), but return the created vector of `Equation`s
69+ before the are passed to an MTK system.
70+ """
6571processes_to_mtkeqs (procs:: Vector ; kw... ) =
6672processes_to_mtkeqs (procs, Dict {Num, Any} (); kw... )
6773processes_to_mtkeqs (procs:: Vector , m:: Module ; kw... ) =
You can’t perform that action at this time.
0 commit comments