SciCompMod / memilio

Modular spatio-temporal models for epidemic and pandemic simulations
https://scicompmod.github.io/memilio/
Apache License 2.0
51 stars 15 forks source link

Implement the class InfectionState of the LCT model more efficiently #936

Closed lenaploetzke closed 4 months ago

lenaploetzke commented 4 months ago

The idea here is to make the LCT model more efficient by doing more in the InfectionState class at compile time.

The ability to freely choose the number of subcompartments should not be lost.

We hope we can base it on the ODE flows.

_Originally raised by @mknaranja in https://github.com/SciCompMod/memilio/pull/915#discussion_r1478940839_

mknaranja commented 4 months ago

@lenaploetzke Please check the edited message is ok. Description should be top in issue.