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

Support size 0 BoxArrays in ParticleLocator #3949

Merged
merged 1 commit into from
May 22, 2024

Conversation

atmyers
Copy link
Member

@atmyers atmyers commented May 21, 2024

Handling this case gracefully is needed by the FHDeX code with the hybrid mesh / particle method. After this PR, the ParticleLocator object can be built with a size 0 BoxArray, and the resulting functor will always return false.

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

@atmyers atmyers requested a review from WeiqunZhang May 21, 2024 20:33
@jbbel jbbel merged commit 568efb1 into AMReX-Codes:development May 22, 2024
68 of 69 checks passed
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