You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/problem.jl
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@ Struct for representing a cell simulation problem.
21
21
You can solve a `CellProblem` like you would solve a problem from DifferentialEquations.jl, e.g. with
22
22
23
23
solve(prob, Tsit5(), saveat = 0.1)
24
+
25
+
The other kwargs for `solve` that we provide are:
26
+
27
+
- `proliferation::Bool = false`: Whether to include proliferation.
28
+
- `rng::AbstractRNG = Random.default_rng()`: The random number generator to use for proliferation.
29
+
- `sort::Bool = false`: Whether to sort the cells after each step. This is useful for preventing the cells from becoming unsorted, which can happen due to numerical errors or force laws like `F(q) = k/q^(n+1)`, `n ≥ 0`.
30
+
31
+
For proliferation problems, `EnsembleProblem` can be useful - see the docs.
0 commit comments