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

Implement StructOfArray::empty() and ParticleTile::empty() for pure SoA #3296

Merged
merged 1 commit into from
May 4, 2023

Conversation

atmyers
Copy link
Member

@atmyers atmyers commented May 4, 2023

The implementation of ParticleTile::empty() was wrong for pure SoA, which led to problems in ImpactX: ECP-WarpX/impactx#348

Follow-up to #2878.

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 May 4, 2023 17:52
@ax3l ax3l self-assigned this May 4, 2023
@ax3l ax3l added the bug label May 4, 2023
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.

Brilliant! Thank you so much!

@ax3l ax3l enabled auto-merge (squash) May 4, 2023 19:14
@ax3l ax3l mentioned this pull request May 4, 2023
7 tasks
@ax3l ax3l merged commit a393d7f into AMReX-Codes:development May 4, 2023
ax3l added a commit to ax3l/pyamrex that referenced this pull request May 4, 2023
Update AMReX to latest `development`.
Pulls in AMReX-Codes/amrex#3296
ax3l added a commit to AMReX-Codes/pyamrex that referenced this pull request May 4, 2023
Update AMReX to latest `development`.
Pulls in AMReX-Codes/amrex#3296
guj pushed a commit to guj/amrex that referenced this pull request Jul 13, 2023
…oA (AMReX-Codes#3296)

The implementation of `ParticleTile::empty()` was wrong for pure SoA,
which led to problems in ImpactX:
ECP-WarpX/impactx#348

The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [x] 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