zwicker-group / py-pde

Python package for solving partial differential equations using finite differences.
https://py-pde.readthedocs.io
MIT License
412 stars 52 forks source link

Adjust adaptive time stepping so that interrupts are hit exactly #282

Closed david-zwicker closed 2 years ago

david-zwicker commented 2 years ago

Fixed a bug in error estimate of Runge-Kutta-Fehlberg stepper

codecov[bot] commented 2 years ago

Codecov Report

Merging #282 (bbbef69) into master (83ddac1) will decrease coverage by 0.00%. The diff coverage is 94.73%.

@@            Coverage Diff             @@
##           master     #282      +/-   ##
==========================================
- Coverage   87.72%   87.72%   -0.01%     
==========================================
  Files          70       70              
  Lines       10334    10343       +9     
==========================================
+ Hits         9066     9073       +7     
- Misses       1268     1270       +2     
Flag Coverage Δ
unittests 87.72% <94.73%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pde/solvers/explicit.py 94.84% <93.75%> (-0.71%) :arrow_down:
pde/grids/_mesh.py 96.53% <100.00%> (+0.04%) :arrow_up:
pde/solvers/explicit_mpi.py 88.00% <100.00%> (+0.16%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.