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

Python: use valid cells for fields getitem #4370

Conversation

dpgrote
Copy link
Member

@dpgrote dpgrote commented Oct 13, 2023

This PR fixes the getitem in fields.py when include_ghosts is True so that internal to the domain, it only uses valid cells (instead of values from the ghost cells). It only uses ghost cells on the outer edge of the domain.

@dpgrote dpgrote added the component: Python Python layer label Oct 13, 2023
@dpgrote dpgrote requested a review from RemiLehe October 13, 2023 17:42
@dpgrote dpgrote changed the title Python: use valid cells for fields getitem [WIP]Python: use valid cells for fields getitem Nov 4, 2023
Python/pywarpx/fields.py Fixed Show fixed Hide fixed
@dpgrote dpgrote changed the title [WIP]Python: use valid cells for fields getitem Python: use valid cells for fields getitem Dec 22, 2023
@ax3l
Copy link
Member

ax3l commented Oct 10, 2024

Added in AMReX-Codes/pyamrex#370

@dpgrote
Copy link
Member Author

dpgrote commented Oct 22, 2024

This PR has been superseded by PR #5407

@dpgrote dpgrote closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Python Python layer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants