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 optional component communication for pure SoA particles #4333

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

atmyers
Copy link
Member

@atmyers atmyers commented Feb 13, 2025

If using the legacy layout, the AMREX_SPACEDIM position components are counted separately. But if using pure SoA, the position components are assumed to be part of NArrayReal - hence the h_redistribute_real_comp vector was the wrong size.

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 ax3l February 13, 2025 20:07
@ax3l ax3l added the bug label Feb 13, 2025
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!

@ax3l ax3l merged commit 275f55f into AMReX-Codes:development Feb 13, 2025
75 checks passed
atmyers pushed a commit to ECP-WarpX/WarpX that referenced this pull request Feb 14, 2025
Update to latest AMReX version to pull the latest bug fix in
AMReX-Codes/amrex#4333.
ax3l pushed a commit that referenced this pull request Feb 18, 2025
This fixes an issue introduced in PR #4333.

The proposed changes:
- [x] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants