Skip to content

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Oct 12, 2024

Replace our own named SoA particle components implementation with the now upstream support in AMReX. Early draft, unfinished.

@ax3l ax3l added the API: breaking Breaking changes label Oct 12, 2024
@ax3l ax3l requested a review from atmyers October 12, 2024 00:17
@ax3l ax3l added the component: particles Particles label Oct 12, 2024
@ax3l ax3l changed the title [Draft] AMReX SoA Named Components [WIP] AMReX SoA Named Components Oct 12, 2024
@ax3l ax3l force-pushed the topic-upstream-soa-named branch from d41d068 to a3b79d3 Compare January 14, 2025 19:07
@ax3l ax3l force-pushed the topic-upstream-soa-named branch from a3b79d3 to 4add429 Compare January 14, 2025 20:15
atmyers pushed a commit to AMReX-Codes/amrex that referenced this pull request Jan 17, 2025
## Summary

We forgot a `define()` that also needs to forward the names of SoA
components. This fixes it.

## Additional background

First seen in AMReX-Codes/pyamrex#382

## Checklist

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
ax3l added a commit to ax3l/pyamrex that referenced this pull request Jan 17, 2025
Update to latest commit in `development`.
Pull in fix AMReX-Codes/amrex#4298
for AMReX-Codes#382.
@ax3l ax3l force-pushed the topic-upstream-soa-named branch from 4add429 to 6a66b61 Compare January 18, 2025 01:06
atmyers pushed a commit to AMReX-Codes/amrex that referenced this pull request Jan 21, 2025
## Summary

Avoid user errors. Happened immediately to me: I added a runtime
component with the same name as a compile-time SoA component and no
error was thrown (now it will).

## Additional background

AMReX-Codes/pyamrex#382

## Checklist

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
ax3l added a commit that referenced this pull request Jan 23, 2025
Update to latest commit in `development`.
Pull in fixes
- [x] AMReX-Codes/amrex#4298
- [x] AMReX-Codes/amrex#4299
- [x] AMReX-Codes/amrex#4302
- [x] AMReX-Codes/amrex#4300

for #382.
Replace our own named SoA particle components implementation
with the now upstream support in AMReX.
@ax3l ax3l force-pushed the topic-upstream-soa-named branch from 6a66b61 to 0585d17 Compare January 23, 2025 07:35
@ax3l ax3l changed the title [WIP] AMReX SoA Named Components AMReX SoA Named Components Jan 23, 2025
Signed-off-by: Axel Huebl <axel.huebl@plasma.ninja>
@ax3l
Copy link
Member Author

ax3l commented Jan 23, 2025

@atmyers this PR and the ImpactX PR are ready for review :)

@ax3l ax3l merged commit 6d9b9da into AMReX-Codes:development Jan 24, 2025
18 checks passed
@ax3l ax3l deleted the topic-upstream-soa-named branch January 24, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API: breaking Breaking changes component: particles Particles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants