Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix periodic boundary bug in AMReX-Codes#3199 (AMReX-Codes#3243)
PR AMReX-Codes#3199 broke the Nyx regression tests. The issue is we require the particle positions to be in [plo, phi). This won't happen if rhi is exactly equal to phi. The fix is to make sure rhi is always slightly inside the domain. EDIT - fixed this in a different way. Now, when applying periodic boundaries, the particle positions will be set to be strictly less than rhi.
- Loading branch information