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

fix for ref_ratio=1 #3786

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

asalmgren
Copy link
Member

Summary

The current routines compute the slope even if ref_ratio = 1. In this PR we test on ref_ratio before trying to compute slopes and if ref_ratio is equal to 1, we bypass the slope computation.

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

@asalmgren asalmgren requested a review from WeiqunZhang March 3, 2024 23:01
@WeiqunZhang WeiqunZhang merged commit 3525b4a into AMReX-Codes:development Mar 4, 2024
68 of 69 checks passed
@WeiqunZhang WeiqunZhang deleted the ref_ratio_1_changes branch March 4, 2024 01:13
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