WarpX
WarpX copied to clipboard
Function to get particle cell index.
It would be useful to have a function (maybe in ParticleUtils.cpp
) that returns the cell indices for a given particle. This would allow cleaning up code in several places (for example in TemperateFunctor.cpp
.
Originally posted by @roelof-groenewald in https://github.com/ECP-WarpX/WarpX/pull/4942#discussion_r1631548274