parcels icon indicating copy to clipboard operation
parcels copied to clipboard

Enhancement: Include `zi` in the `ParticleSet.populate_indices()` method

Open michaeldenes opened this issue 4 months ago • 0 comments

Currently the ParticleSet.populate_indices only populates the xi and yi indices. For 3D simulations, a nice-to-have addition to the ParticleSet.populate_indices method is to include the zi index, and not just xi, and yi. While it's fairly easy to determine the grid index in the vertical direction by a simple comparison of the particle depth with the grid depths in physical space, removing this post-processing step would be nice!

michaeldenes avatar Sep 26 '24 12:09 michaeldenes