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

Evaluate physics at each stage of SSPRK3, RK4 and Heun's method #399

Merged
merged 6 commits into from
Jul 27, 2023

Conversation

nhartney
Copy link
Contributor

This PR fixes a bug where physics schemes were only being called once at the beginning of the SSPRK3, RK4 and Heun's method time-stepping schemes. Physics source terms are now evaluated at the beginning of each stage of the timestep.

nh491 added 3 commits July 27, 2023 10:17
…ysics (and make the tolerance more slack) and note that we need to update this test when we have a CoupledAdvectionEquation
Copy link
Contributor

@tommbendall tommbendall left a comment

Choose a reason for hiding this comment

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

Looks good to me now, thanks Nell!

@tommbendall tommbendall merged commit 9fcd77a into main Jul 27, 2023
4 checks passed
@tommbendall tommbendall deleted the timestepping_physics branch September 1, 2023 15:43
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.

3 participants