Skip to content

Commit 524489a

Browse files
authored
Merge pull request #706 from SciML/general_doc_update
General doc update
2 parents 6bafc05 + 1356d36 commit 524489a

File tree

7 files changed

+52
-16
lines changed

7 files changed

+52
-16
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ StochasticDiffEq = "789caeaf-c7a9-5a7d-9973-96adeb23e2a0"
1919
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
2020

2121
[compat]
22-
BifurcationKit = "0.2.4"
22+
BifurcationKit = "0.3"
2323
Catalyst = "13"
2424
DifferentialEquations = "7.7"
2525
Distributions = "0.25"

docs/src/catalyst_applications/advanced_simulations.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,3 +401,8 @@ species we wish to plot. Here, we plot the solution in `(X,Y)` space:
401401
```@example ex4
402402
plot(sol; idxs=(:X, :Y))
403403
```
404+
405+
---
406+
## References
407+
[^1]: [DifferentialEquations.jl online documentation.](https://docs.sciml.ai/DiffEqDocs/stable/)
408+
[^2]: [Chris Rackauckas, Qing Nie, *DifferentialEquations.jl – A Performant and Feature-Rich Ecosystem for Solving Differential Equations in Julia*, Journal of Open Resource Software (2017).](https://openresearchsoftware.metajnl.com/articles/10.5334/jors.151)

docs/src/catalyst_applications/bifurcation_diagrams.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ We also bundle the information we have compiled so far into a
7272
using BifurcationKit, Plots, LinearAlgebra, Setfield
7373
7474
bprob = BifurcationProblem(F, oprob.u0, oprob.p, (@lens _[bif_idx]);
75-
recordFromSolution = (x, p) -> x[plot_idx], J = J)
75+
record_from_solution = (x, p) -> x[plot_idx], J = J)
7676
nothing # hide
7777
```
7878
Next, we need to specify the input options for the pseudo-arclength continuation
@@ -81,10 +81,10 @@ method (PACM) which produces the diagram.
8181
bopts = ContinuationPar(dsmax = 0.05, # Max arclength in PACM.
8282
dsmin = 1e-4, # Min arclength in PACM.
8383
ds = 0.001, # Initial (positive) arclength in PACM.
84-
maxSteps = 100000, # Max number of steps.
85-
pMin = p_span[1], # Min p-val (if hit, the method stops).
86-
pMax = p_span[2], # Max p-val (if hit, the method stops).
87-
detectBifurcation = 3) # Value in {0,1,2,3}
84+
max_steps = 100000, # Max number of steps.
85+
p_min = p_span[1], # Min p-val (if hit, the method stops).
86+
p_max = p_span[2], # Max p-val (if hit, the method stops).
87+
detect_bifurcation = 3) # Value in {0,1,2,3}
8888
nothing # hide
8989
```
9090
Here `detectBifurcation` determines to what extent bifurcation points are
@@ -110,3 +110,25 @@ branches are connected. However, BifurcationKit.jl is a very powerful package
110110
capable of a lot more. For more details, please see that package's
111111
documentation:
112112
[BifurcationKit.jl](https://bifurcationkit.github.io/BifurcationKitDocs.jl/stable/).
113+
114+
---
115+
## [Citation](@id bifurcation_kit_citation)
116+
If you use this functionality in your research, please cite the following paper to support the author of the BifurcationKit package:
117+
```
118+
@misc{veltz:hal-02902346,
119+
title = {{BifurcationKit.jl}},
120+
author = {Veltz, Romain},
121+
url = {https://hal.archives-ouvertes.fr/hal-02902346},
122+
institution = {{Inria Sophia-Antipolis}},
123+
year = {2020},
124+
month = Jul,
125+
keywords = {pseudo-arclength-continuation ; periodic-orbits ; floquet ; gpu ; bifurcation-diagram ; deflation ; newton-krylov},
126+
pdf = {https://hal.archives-ouvertes.fr/hal-02902346/file/354c9fb0d148262405609eed2cb7927818706f1f.tar.gz},
127+
hal_id = {hal-02902346},
128+
hal_version = {v1},
129+
}
130+
```
131+
132+
---
133+
## References
134+
[^1]: [Yuri A. Kuznetsov, *Elements of Applied Bifurcation Theory*, Springer (2023).](https://link.springer.com/book/10.1007/978-3-031-22007-4)

docs/src/catalyst_applications/homotopy_continuation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ integer Hill exponents). The roots of these can reliably be found through a
99
*homotopy continuation* algorithm. This is implemented in Julia through the
1010
[HomotopyContinuation.jl](https://www.juliahomotopycontinuation.org/) package.
1111

12-
Catalyst contains a special homotopy continuation extension that is loaded whenever HomotopyContinuation.jl is. This exports a single function, `hc_steady_states`, that can be used to find the steady states of any `ReactionSystem` structure. If you use this in your research, please [cite the HomotopyContinuation.jl](@ref homotopy_continuation_citation) and [Catalyst.jl]() publications.
12+
Catalyst contains a special homotopy continuation extension that is loaded whenever HomotopyContinuation.jl is. This exports a single function, `hc_steady_states`, that can be used to find the steady states of any `ReactionSystem` structure. If you use this in your research, please [cite the HomotopyContinuation.jl](@ref homotopy_continuation_citation) and [Catalyst.jl](@ref catalyst_citation) publications.
1313

1414
## Basic example
15-
For this tutorial, we will use a model from Wilhem (2009)[^1] (which
15+
For this tutorial, we will use a model from Wilhelm (2009)[^1] (which
1616
demonstrates bistability in a small chemical reaction network). We declare the
1717
model and the parameter set for which we want to find the steady states:
1818
```@example hc1
@@ -54,16 +54,15 @@ Catalyst allows the conservation laws of such systems to be computed using the `
5454
```@example hc3
5555
ps = [:k1 => 2.0, :k2 => 1.0]
5656
u0 = [:X1 => 1.0, :X2 => 1.0]
57-
hc_steady_states(wilhelm_2009_model, ps; u0)
58-
57+
hc_steady_states(two_state_model, ps; u0)
5958
```
6059

6160
## Final notes
6261
- `hc_steady_states` supports any systems where all rates are systems of rational polynomials (such as Hill functions with integer Hill coefficients).
6362
- When providing initial conditions to compute conservation laws, values are only required for those species that are part of conserved quantities. If this set of species is unknown, it is recommended to provide initial conditions for all species.
6463
- Additional arguments provided to `hc_steady_states` are automatically passed to HomotopyContinuation's `solve` command. Use e.g. `show_progress=false` to disable the progress bar.
65-
---
6664

65+
---
6766
## [Citation](@id homotopy_continuation_citation)
6867
If you use this functionality in your research, please cite the following paper to support the authors of the HomotopyContinuation package:
6968
```
@@ -77,8 +76,9 @@ If you use this functionality in your research, please cite the following paper
7776
}
7877
```
7978

79+
---
8080
## References
8181
[^1]: [Thomas Wilhelm, *The smallest chemical reaction system with bistability*, BMC Systems Biology (2009).](https://bmcsystbiol.biomedcentral.com/articles/10.1186/1752-0509-3-90)
8282
[^2]: [Paul Breiding, Sascha Timme, *HomotopyContinuation.jl: A Package for Homotopy Continuation in Julia*, International Congress on Mathematical Software (2018).](https://link.springer.com/chapter/10.1007/978-3-319-96418-8_54)
83-
[^3:] [Andrew J Sommese, Charles W Wampler *The Numerical Solution of Systems of Polynomials Arising in Engineering and Science*, World Scientific (2005).](https://www.worldscientific.com/worldscibooks/10.1142/5763#t=aboutBook)
84-
[^4:] [Daniel J. Bates, Paul Breiding, Tianran Chen, Jonathan D. Hauenstein, Anton Leykin, Frank Sottile, *Numerical Nonlinear Algebra*, arXiv (2023).](https://arxiv.org/abs/2302.08585)
83+
[^3]: [Andrew J Sommese, Charles W Wampler *The Numerical Solution of Systems of Polynomials Arising in Engineering and Science*, World Scientific (2005).](https://www.worldscientific.com/worldscibooks/10.1142/5763#t=aboutBook)
84+
[^4]: [Daniel J. Bates, Paul Breiding, Tianran Chen, Jonathan D. Hauenstein, Anton Leykin, Frank Sottile, *Numerical Nonlinear Algebra*, arXiv (2023).](https://arxiv.org/abs/2302.08585)

docs/src/example_networks/smoluchowski_coagulation_equation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,6 @@ For the **additive kernel** we find
131131

132132
---
133133
## References
134-
1. [https://en.wikipedia.org/wiki/Smoluchowski\_coagulation\_equation](https://en.wikipedia.org/wiki/Smoluchowski_coagulation_equation)
135-
2. Scott, W. T. (1968). Analytic Studies of Cloud Droplet Coalescence I, Journal of Atmospheric Sciences, 25(1), 54-65. Retrieved Feb 18, 2021, from https://journals.ametsoc.org/view/journals/atsc/25/1/1520-0469\_1968\_025\_0054\_asocdc\_2\_0\_co\_2.xml
136-
3. Ian J. Laurenzi, John D. Bartels, Scott L. Diamond, A General Algorithm for Exact Simulation of Multicomponent Aggregation Processes, Journal of Computational Physics, Volume 177, Issue 2, 2002, Pages 418-449, ISSN 0021-9991, https://doi.org/10.1006/jcph.2002.7017.
134+
[^1]: [https://en.wikipedia.org/wiki/Smoluchowski\_coagulation\_equation](https://en.wikipedia.org/wiki/Smoluchowski_coagulation_equation)
135+
[^2]: Scott, W. T. (1968). Analytic Studies of Cloud Droplet Coalescence I, Journal of Atmospheric Sciences, 25(1), 54-65. Retrieved Feb 18, 2021, from https://journals.ametsoc.org/view/journals/atsc/25/1/1520-0469\_1968\_025\_0054\_asocdc\_2\_0\_co\_2.xml
136+
[^3]: Ian J. Laurenzi, John D. Bartels, Scott L. Diamond, A General Algorithm for Exact Simulation of Multicomponent Aggregation Processes, Journal of Computational Physics, Volume 177, Issue 2, 2002, Pages 418-449, ISSN 0021-9991, https://doi.org/10.1006/jcph.2002.7017.

docs/src/introduction_to_catalyst/catalyst_for_new_julia_users.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,8 @@ plot(sol)
185185
---
186186
## Feedback
187187
If you are a new Julia user who has used this tutorial, and there was something you struggled with or would have liked to have explained better, please [raise an issue](https://github.com/SciML/Catalyst.jl/issues). That way, we can continue improving this tutorial.
188+
189+
---
190+
## References
191+
[^1]: [Jeff Bezanson, Alan Edelman, Stefan Karpinski, Viral B. Shah, *Julia: A Fresh Approach to Numerical Computing*, SIAM Review (2017).](https://epubs.siam.org/doi/abs/10.1137/141000671)
192+
[^2]: [Torkel E. Loman, Yingbo Ma, Vasily Ilin, Shashi Gowda, Niklas Korsbo, Nikhil Yewale, Chris Rackauckas, Samuel A. Isaacson, *Catalyst: Fast and flexible modeling of reaction networks*, PLOS Computational Biology (2023).](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1011530)

docs/src/introduction_to_catalyst/introduction_to_catalyst.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,3 +346,7 @@ and the ODE model
346346
[`ODEProblem`s](https://mtk.sciml.ai/dev/systems/ODESystem/#DiffEqBase.ODEProblem)
347347
and
348348
[`SDEProblem`s](https://mtk.sciml.ai/dev/systems/SDESystem/#DiffEqBase.SDEProblem).
349+
350+
---
351+
## References
352+
[^1]: [Torkel E. Loman, Yingbo Ma, Vasily Ilin, Shashi Gowda, Niklas Korsbo, Nikhil Yewale, Chris Rackauckas, Samuel A. Isaacson, *Catalyst: Fast and flexible modeling of reaction networks*, PLOS Computational Biology (2023).](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1011530)

0 commit comments

Comments
 (0)