-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The stab_region function only returns the first contour detected by contourc:
| c = contourc(x,y,R,[1+eps 1+eps]); |
If a method has multiple disconnected regions of stability like https://github.com/LLNL/sundials/blob/54d9c4a6a73ba52c8adb010f1ed0ec66b169c7dc/doc/shared/figs/arkode/sofroniou_spaletta_erk_stab_region.png
this code would only show one region and leave out the others. I'm not sure if stability plots in the SUNDIALS docs are affected. A simple fix is to directly call
contour with the x-y grid and stability functions values.Metadata
Metadata
Assignees
Labels
No labels