From f196fae3f1b11e017228b4808eda916b0ef13f87 Mon Sep 17 00:00:00 2001 From: Shahriar Iravanian Date: Sat, 1 Apr 2023 16:56:05 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d38b215..9903dd2 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ The rest is the same as before. ```Julia sol = solve(prob, dtmax=1.0) - plot(sol, idxs=8) # 8 is the index of membrane₊V + plot(sol, idxs=7) # 7 is the index of membrane₊V ``` For the next example, we chose a complex model to stress the ODE solvers: [the O'Hara-Rudy left ventricular model](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002061). This model has 49 state variables, is very stiff, and is prone to oscillation. In the previous versions of this document, we used `CVODE_BDF` from the Sundial suite (`using Sundials`) to solve this problem. Fortunatelly, DifferentialEquations.jl has advanced signigficantly such that an efficient and pure Julia solution to the O'Hara-Rudy model is possible. @@ -175,7 +175,7 @@ CellML specification allows for models spanning multiple XML files. In these mod ```julia ml = CellModel("models/noble_1962/Noble_1962.cellml") prob = ODEProblem(ml, tspan) -sol = solve(prob, TRBDF2(), dtmax = 0.5) +sol = solve(prob, dtmax=0.5) ``` Note that the syntax is exactly the same as before. However, the list of the imported files are printed during `CellModel` generation: @@ -195,7 +195,7 @@ Note that the syntax is exactly the same as before. However, the list of the imp Same as before, we can plot the output as ```julia -plot(sol, idxs = 2) +plot(sol, idxs=2) ``` ![](figures/noble_1962.png) From a4e0582e12f45f5dc7e0e544dba82fda369e7c9a Mon Sep 17 00:00:00 2001 From: Shahriar Iravanian Date: Sat, 1 Apr 2023 16:57:05 -0400 Subject: [PATCH 2/2] Update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 0c513b3..9644d81 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CellMLToolkit" uuid = "03cb29e0-1ef4-4721-aa24-cf58a006576f" authors = ["Shahriar Iravanian "] -version = "2.11.0" +version = "2.11.1" [deps] EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"