cellmodeller / CellModeller

GPU-accelerated multicellular modelling framework
http://cellmodeller.github.io/CellModeller/
Other
56 stars 48 forks source link

Feature request: Get current step # in simulation #19

Closed alexweisberg closed 5 years ago

alexweisberg commented 5 years ago

Hi, this is a great software package and it is working well for my simulations. I was wondering if it is possible to get the current step number at each round of the simulation? I would like to either add additional cells at an arbitrary step; or change some property of a subset of cells at a given time point. Thanks!

alexweisberg commented 5 years ago

I was able to approximate this by adding a global variable to my model and increment it every time update() is called.

timrudge commented 5 years ago

Hi Alexandra - yes this was what I was about to suggest. Let me know if you have any problems with it...

best Tim


Tim Rudge, PhD Assistant Professor, Institute for Biological and Medical Engineering / Department of Chemical and Bioprocess Engineering Universidad Católica de Chile tel: +56 2 23544576 cel: +56 9 46560677

On Thu, Aug 1, 2019 at 8:11 PM Alexandra Weisberg notifications@github.com wrote:

I was able to approximate this by adding a global variable to my model and increment it every time update() is called.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HaseloffLab/CellModeller/issues/19?email_source=notifications&email_token=ABWAWAJJEDMOYS7U3F5WN2DQCN3SPA5CNFSM4IIX56Z2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3MG4OY#issuecomment-517500475, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWAWAOWHRSIF6433T5MRSTQCN3SPANCNFSM4IIX56ZQ .

alexweisberg commented 5 years ago

Thank you. Yes, that did work very well for my simulations.