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

Amr Class: Synchronization of StateData's Time #3375

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

WeiqunZhang
Copy link
Member

The synchronization of StateData's time is done in a virtual function, AmrLevel::postCoarseTime. However, the issue is the override version of the virtual function often forget to do it. In this PR, the job is instead done in the Amr class directly. This should make the code more robust.

Close #3374

@WeiqunZhang WeiqunZhang requested a review from atmyers June 19, 2023 01:23
The synchronization of StateData's time is done in a virtual function,
AmrLevel::postCoarseTime. However, the issue is the override version of the
virtual function often forget to do it. In this PR, the job is instead done
in the Amr class directly. This should make the code more robust.
@WeiqunZhang WeiqunZhang merged commit 239d4d8 into AMReX-Codes:development Jun 20, 2023
65 checks passed
@WeiqunZhang WeiqunZhang deleted the fix_cns_time branch June 20, 2023 16:40
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.

RK problem with amrex::almostEqual when time step is small
2 participants