-
Notifications
You must be signed in to change notification settings - Fork 12
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
revert to first-order space+time flux when RK2 flux fails #221
Conversation
/azp run |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
/azp run |
clang-tidy review says "All clean, LGTM! 👍" |
/azp run |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
/azp run |
clang-tidy review says "All clean, LGTM! 👍" |
/azp run |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
/azp run |
/azp run |
@markkrumholz here's the first FOFC fix. The boundary box consistency will go in the next PR. |
@markkrumholz All tests now pass. Please review at your convenience. |
This improves the first-order flux correction so that it reverts to forward Euler with a donor cell flux (i.e., Godunov's method) for cells that produce negative densities with the RK2+PPM/PLM update. This replaces the fluxes surrounding problem cells, so that the overall method remains conservative.
This causes a tiny difference in the output of the HydroHighMach test. The solution looks no better or worse than before by eye, but the error tolerance is just slightly too stringent for it to pass, so it's updated here.
Fixes #218.