mrc-ide / odin

ᚩ A DSL for describing and solving differential equations in R
https://mrc-ide.github.io/odin
Other
104 stars 13 forks source link

Re-introduce the timescaling for discrete models #143

Open richfitz opened 5 years ago

richfitz commented 5 years ago

See the teaching work with Joanna here - this might be straightforward to add as another configuration variable perhaps?

richfitz commented 5 years ago

Linear scale - offset and dt should be enough, offset can be zero by default.

If present then we might accept time (t) as an argument to run etc because we can invert a linear time really easily

richfitz commented 5 years ago
config(dt) <- 0.1
config(t0) <- 0