Skip to content

Conversation

@brownbaerchen
Copy link
Contributor

New sweeper that takes a lower triangular Butcher tableau as input and does Runge-Kutta. I tried to eliminate unnecessary computations by forgoing the preconditioner, rather than setting preconditioner equal to the quadrature rule.

In the jupyter notebook there is a plot that confirms the order of a few RK schemes, but I have not made any further analysis and also implemented only few RK schemes.

Copy link
Member

@pancetta pancetta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move the test_order into the tests? Then it'll be picked up during CI testing.

Thomas Baumann added 3 commits September 13, 2022 23:43
with the new sweepers which avoids integration with both
preconditioner and quadrature matrix. The nodes might be wrong, which
would only show up in problems with time-dependent right hand sides.
@brownbaerchen
Copy link
Contributor Author

Please have a look at the stability plots at the bottom of https://github.com/Parallel-in-Time/pySDC/blob/8201e6e4e46d1866b506b6081065456b8d313aa2/pySDC/playgrounds/Runge_Kutta/Runge-Kutta-Methods.ipynb

Are they what you would expect? I have no idea about RK methods and stability. In particular: Is implicit midpoint A-stable or did I make a mistake?

@pancetta
Copy link
Member

Please have a look at the stability plots at the bottom of https://github.com/Parallel-in-Time/pySDC/blob/8201e6e4e46d1866b506b6081065456b8d313aa2/pySDC/playgrounds/Runge_Kutta/Runge-Kutta-Methods.ipynb

Are they what you would expect? I have no idea about RK methods and stability. In particular: Is implicit midpoint A-stable or did I make a mistake?

LGTM. The plot for the explicit methods is somewhat hard to read, though. Could you highlight the region of stability?

@pancetta
Copy link
Member

And yes, implicit midpoint is A-stable, being a Gauss-Legendre method.

Thomas Baumann added 2 commits September 14, 2022 13:15
collocation are given and I shaded the regions of stability in the plot
@brownbaerchen
Copy link
Contributor Author

Explicit Euler is unusually stable (entire left half plane). That's weird.. Any ideas why?

@pancetta
Copy link
Member

Where do you see this? Smells like you did implicit Euler by accident.

@brownbaerchen
Copy link
Contributor Author

Where do you see this? Smells like you did implicit Euler by accident.

Again in the last plot in https://github.com/Parallel-in-Time/pySDC/blob/a1bfc50fe1e15799d260e0b51362cb949dd78b75/pySDC/playgrounds/Runge_Kutta/Runge-Kutta-Methods.ipynb

The stability region looks different than that of implicit Euler, though..

@pancetta pancetta merged commit e63c6fb into Parallel-in-Time:master Sep 14, 2022
lisawim pushed a commit to lisawim/pySDC that referenced this pull request Oct 11, 2022
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

Successfully merging this pull request may close these issues.

2 participants