codes#

Code-specific utilities for the cluster_generator library.

Functions

resample_arepo_ics(ics, infile, outfile[, ...])

Resample Arepo ICs

setup_arepo_ics(ics, boxsize, nx, ic_file[, ...])

Setup Arepo ICs

setup_art_ics(ics)

Setup Art ICs

setup_athena_ics(ics)

param ics:

The ClusterICs object to generate the Athena ICs from.

setup_enzo_ics(ics)

param ics:

The ClusterICs object to generate the Enzo ICs from.

setup_flash_ics(ics[, use_particles, ...])

Generate the "flash.par" lines needed for use with the GalaxyClusterMerger setup in FLASH.

setup_gamer_ics(ics[, regenerate_particles, ...])

Generate the "Input_TestProb" lines needed for use with the ClusterMerger setup in GAMER.

setup_gizmo_ics(ics)

param ics:

The ClusterICs object to generate the GIZMO funcs from.

setup_ramses_ics(ics[, regenerate_particles])

param ics:

The ClusterICs object to generate the Ramses ICs from.

write_amr_particles(particles, ...[, ...])

Write the particles to an HDF5 file to be read in by the GAMER, FLASH, or RAMSES codes.