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

Update position in 2nd pass for tracer advect with Ucc. #3496

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

dwillcox
Copy link
Contributor

Summary

In the Ucc advection routine for tracer particles, the 2nd advection pass did not increment the particle position. This change fixes the issue, and it is now consistent with the leapfrog approach used in the Umac advection routine.

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@dwillcox dwillcox requested a review from atmyers August 16, 2023 17:45
@atmyers
Copy link
Member

atmyers commented Aug 16, 2023

Thanks for finding / fixing!

@atmyers atmyers merged commit 4352810 into AMReX-Codes:development Aug 16, 2023
66 checks passed
@dwillcox
Copy link
Contributor Author

Sure!

@dwillcox dwillcox deleted the tracerfix branch August 16, 2023 18:48
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