Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LSRK54 time stepping method #335

Merged
merged 14 commits into from
Oct 23, 2022
Merged

Add LSRK54 time stepping method #335

merged 14 commits into from
Oct 23, 2022

Conversation

doraemonho
Copy link
Contributor

@doraemonho doraemonho commented Oct 22, 2022

Implements a 4th-order 5-stages 2-storage Runge-Kutta timestepper, LSRK54.

Closes #334

src/timesteppers.jl Outdated Show resolved Hide resolved
src/timesteppers.jl Outdated Show resolved Hide resolved
@navidcy navidcy changed the title LSRK54 method Add LSRK54 time stepping method Oct 23, 2022
@navidcy
Copy link
Member

navidcy commented Oct 23, 2022

Should we include the FilteredLSRK54TimeStepper?

@navidcy
Copy link
Member

navidcy commented Oct 23, 2022

I made a few changes @doraemonho. Have a look and let me know what you think.

@doraemonho
Copy link
Contributor Author

Should we include the FilteredLSRK54TimeStepper?

It is workable but I am not sure if the solution is stable in the combination with the filter + low storage method.
Maybe let us test it first and push this in the next update.?

@doraemonho
Copy link
Contributor Author

@navidcy I changed the coef. values to rational form and also tested once. Could you check if the formatting is correct or not?

src/timesteppers.jl Outdated Show resolved Hide resolved
@navidcy
Copy link
Member

navidcy commented Oct 23, 2022

When tests pass I'll merge.

@navidcy navidcy merged commit 4cdccae into FourierFlows:main Oct 23, 2022
@navidcy
Copy link
Member

navidcy commented Oct 23, 2022

@doraemonho welcome to FourierFlows contributors ;)

@doraemonho
Copy link
Contributor Author

@doraemonho welcome to FourierFlows contributors ;)

It is my pleasure : D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New Feature] Support for low-storage RK4 method
2 participants