yt.frontends.boxlib.data_structures.BoxlibGrid.apply_units

BoxlibGrid.apply_units(arr, units)