File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 3
3
ProcessBasedModelling.jl follows semver 2.0.
4
4
Changelog is kept with respect to v1 release.
5
5
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
+
6
11
## 1.4
7
12
8
13
- Allow ` TimeDerivative(p::Process) ` .
Original file line number Diff line number Diff line change 1
1
name = " ProcessBasedModelling"
2
2
uuid = " ca969041-2cf3-4b10-bc21-86f4417093eb"
3
3
authors = [
" Datseris <[email protected] >" ]
4
- version = " 1.4 .0"
4
+ version = " 1.5 .0"
5
5
6
6
[deps ]
7
7
ModelingToolkit = " 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.
201
201
202
202
``` @docs
203
203
processes_to_mtkmodel
204
+ processes_to_mtkeqs
204
205
register_default_process!
205
206
default_processes
206
207
default_processes_eqs
Original file line number Diff line number Diff line change 3
3
4
4
Construct a ModelingToolkit.jl model/system using the provided `processes` and `default` processes.
5
5
The 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
7
7
passed to the MTK model/system like `ODESystem`.
8
8
9
9
During construction, the following automations improve user experience:
@@ -62,6 +62,12 @@ function processes_to_mtkmodel(args...;
62
62
return sys
63
63
end
64
64
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
+ """
65
71
processes_to_mtkeqs (procs:: Vector ; kw... ) =
66
72
processes_to_mtkeqs (procs, Dict {Num, Any} (); kw... )
67
73
processes_to_mtkeqs (procs:: Vector , m:: Module ; kw... ) =
You can’t perform that action at this time.
0 commit comments