Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying hopping_constants in a callback #258

Open
RobertGregg opened this issue Aug 20, 2022 · 3 comments
Open

Modifying hopping_constants in a callback #258

RobertGregg opened this issue Aug 20, 2022 · 3 comments

Comments

@RobertGregg
Copy link

This is in response to a discourse question:

https://discourse.julialang.org/t/jumpproblem-hopping-constants-callback/86045?u=robertgregg

Essentially, it would be nice to be able to modify hopping_constants in a callback to simulate a moving boundary separates two regions with different diffusion rates. It sounds like reset_aggregated_jumps! would have to be modified to allow this functionality.

@RobertGregg
Copy link
Author

I just wanted to bump this issue with an update. I've been building up a Cellular Potts Modeling package and want to incorporate spatial diffusion with JumpProcesses.jl. Given that these types of models already discretize biological cells onto a grid, I think it makes a lot of sense to use a discrete model for simulating chemical reaction networks within the model.

Basically my question becomes: Does using the hopping_constants in a callback to match the cell's moving boundary the right approach? Or is there a better way to approach this problem?

Sorry in advance if this isn't the best place to have this discussion. I just didn't want this issue to become an xy problem

@isaacsas
Copy link
Member

Looks like a great package! Sorry we haven't made progress on this yet -- unfortunately this semester got busy and I haven't had time yet to get to it. I'm hoping I can make progress on it in a couple weeks once winter break starts.

@RobertGregg
Copy link
Author

No worries! I just thought of it the other day and wanted to follow up. No rush.

The main issue is that the cells containing the chemical reactions move in these models so I have to figure out how to deal with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants