ics.ClusterICs.resample_particle_ics#

ClusterICs.resample_particle_ics(parts, passive_scalars=None)[source]#

Given a Gadget-HDF5-like initial conditions file which has been output from some type of relaxation process (such as making a glass or using MESHRELAX in the case of Arepo), resample the density, thermal energy, and velocity fields onto the gas particles/cells from the initial hydrostatic profiles.

Parameters:
  • parts – TODO:

  • passive_scalars – TODO: