codes.setup_flash_ics#
- codes.setup_flash_ics(ics, use_particles=True, regenerate_particles=False)[source]#
Generate the “flash.par” lines needed for use with the GalaxyClusterMerger setup in FLASH. If the particles (dark matter and potentially star) have not been created yet, they will be created at this step.
- Parameters:
ics (
ClusterICs object
) – The ClusterICs object to generate the GAMER ICs from.use_particles (
boolean
, optional) – If True, set up particle distributions. Default: Trueregenerate_particles (
boolean
, optional) – If particle files have already been created, particles are being used, and this flag is set to True, the particles will be re-created. Default: False