SciML / SciML/JumpProcesses.jl
Modifying hopping_constants in a callback
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 150
- Forks
- 41
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 28
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Discourse question and inspect reset_aggregated_jumps! to understand how callback updates currently interact with hopping_constants. Reproduce the moving-boundary case described in the issue, then verify that hopping constants can be modified from a callback and that the resulting regions use the intended diffusion rates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100