diff options
author | 2021-11-20 17:14:45 -0800 | |
---|---|---|
committer | 2021-11-20 17:14:45 -0800 | |
commit | f87ee691277dedc1efca584b63b492ce1850d3fb (patch) | |
tree | 8e44a0daeaddd42cd4f0303762db311e85afc16d /Source/Particles/Collision/BinaryCollision/ParticleCreationFunc.cpp | |
parent | 1ab82a3dd77863dba5ef14e06b019cfa8ae53e13 (diff) | |
download | WarpX-f87ee691277dedc1efca584b63b492ce1850d3fb.tar.gz WarpX-f87ee691277dedc1efca584b63b492ce1850d3fb.tar.zst WarpX-f87ee691277dedc1efca584b63b492ce1850d3fb.zip |
Python: More Nullptr Checks (#2574)
* Python: More Nullptr Checks
I am debugging a couple of crashes while mitigating CI.
One of them pointed to the locations here
(`ValueError: NULL pointer access`), so I decided to add some checks.
* Skip invalid tiles
* Skip Empty Tiles But Check Pointer
* Python: nullptr check in _array1d_from_pointer
Make the methods `get_particle_structs` and
`get_particle_boundary_buffer_structs` more robust.
Diffstat (limited to 'Source/Particles/Collision/BinaryCollision/ParticleCreationFunc.cpp')
0 files changed, 0 insertions, 0 deletions