zoomy_core.misc.interpolation module

zoomy_core.misc.interpolation module#

Element-wise remapping of discrete fields between two Mesh objects.

zoomy_core.misc.interpolation.to_new_mesh(fields, mesh_old, mesh_new, interp='const', map_fields=None)#

Copy cell data from mesh_old to mesh_new using piecewise-constant injection.