WhitmanOptiLab / DENSE

A generic library for simulating networks of ordinary and delay differential equations for systems modeling
GNU General Public License v3.0
3 stars 9 forks source link

Implement cell growth #17

Open johnastratton opened 7 years ago

johnastratton commented 7 years ago

???

johnastratton commented 5 years ago

After some thought and discussion, here are a few conclusions.

1) This should be done in a separate main function. There are few enough people dealing with cell growth in the middle of a simulation that it's not something we want embedded in the core library. The core library needs only support modification to the collection of cells by an external class between calls to the ageing function.

2) This will require some mechanism to specify simulation history. My collaborator does this by selecting parent cells that already exist, and creating new cells with a copy of the parent cell simulation history. In stochastic simulation, this would require copying the queue of future events, which is even more challenging as that queue is generally not visible. This entire situation may interact with how we initialize simulation history (#57 ) regardless, so we should be careful here, and maybe resolve that issue first.