Skip to content

Commit b64a3a7

Browse files
committed
tutorial renders locally
1 parent 251eea3 commit b64a3a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/src/model_creation/examples/smoluchowski_coagulation_equation.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ elseif i==2
6161
C = 1.84e-04 # cm³ s⁻¹
6262
kv = fill(C / V, nr)
6363
end
64+
nothing #hide
6465
```
6566
We'll set the parameters and the initial condition that only monomers are present at ``t=0`` in `u₀map`.
6667
```@example smcoag1
@@ -107,6 +108,7 @@ jumpsys = complete(convert(JumpSystem, rs))
107108
dprob = DiscreteProblem(rs, u₀map, tspan)
108109
jprob = JumpProblem(jumpsys, dprob, Direct(), save_positions = (false, false))
109110
jsol = solve(jprob, SSAStepper(), saveat = tspan[2] / 30)
111+
nothing #hide
110112
```
111113
Lets check the results for the first three polymers/cluster sizes. We compare to the analytical solution for this system:
112114
```@example smcoag1
@@ -142,9 +144,6 @@ scatter!(ϕ, jsol(t)[3,:] / uₒ, label = "X3 (trimers)", markercolor = :purple)
142144
plot!(ϕ, sol[3,:] / Nₒ, line = (:dot, 4, :purple), label = "Analytical sol--X3",
143145
ylabel = "Normalized Concentration")
144146
```
145-
For the **additive kernel** we find
146-
147-
![additive_kernel](../../assets/additive_kernel.svg)
148147

149148
---
150149
## References

0 commit comments

Comments
 (0)