SciML / JumpProcesses.jl

Build and simulate jump equations like Gillespie simulations and jump diffusions with constant and state-dependent rates and mix with differential equations and scientific machine learning (SciML)
https://docs.sciml.ai/JumpProcesses/stable/
Other
135 stars 35 forks source link

Set up bracketing for spatial solvers. #345

Closed Vilin97 closed 10 months ago

Vilin97 commented 10 months ago

This is in preparation for the spatial SSA RSSACRDirect.

Vilin97 commented 10 months ago

I do like the little handy LowHigh struct. It makes RSSA code look similar to normal code, which is good for maintainability. I'm not sure about performance, that would need to be measured. My instinct is that we would not win much performance by switching non-spatial RSSA-based SSAs to LowHigh.

coveralls commented 10 months ago

Pull Request Test Coverage Report for Build 6138963328


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/spatial/bracketing.jl 20 25 80.0%
<!-- Total: 24 29 82.76% -->
Totals Coverage Status
Change from base Build 6133295964: -0.05%
Covered Lines: 2299
Relevant Lines: 2559

💛 - Coveralls