- compass.ocean.particles.remap_particles(init_filename, particle_filename, graph_filename)[source]¶
Remap particles onto a new grid decomposition.
Load in particle positions, locations of grid cell centers, and decomposition corresponding to
The goal is to update particle field
currentBlockto comply with the new grid as defined by
graph_filenamemust be compatible!
We assume that all particles will be within the domain such that a nearest neighbor search is sufficient to make the remap.