Description Usage Arguments Details Value Author(s) See Also Examples
This function generates a Herquist halo in thermal equilibrium. You can add net spatial and velocity offsets, making it easy to generate a family of halos for Gadget ICs.
1 2 |
x |
Net x positional offset in units of Lunit (default Kpc) |
y |
Net y positional offset in units of Lunit (default Kpc) |
z |
Net z positional offset in units of Lunit (default Kpc) |
vx |
Net x velocity offset in units of Vunit (default km/s) |
vy |
Net y velocity offset in units of Vunit (default km/s) |
vz |
Net z velocity offset in units of Vunit (default km/s) |
Npart |
The number of particles within the Virial radius desired (number of particles generated will be a few 10 |
Mpart |
The mass of each particle in units of Munit (default 1e10*Msun) |
conc |
The concentration of the profile desired |
iseed |
The initial random seed |
Munit |
Mass unit relative to Msun for Mpart, default is 1e10 (i.e. 1e10*Msun) |
Lunit |
x, y, z distance unit scaling relative to parsecs, default is 1e3 (i.e. Kpc) |
Vunit |
vx, vy, vz velocity unit scaling relative to km/s, default is 1 (i.e. km/s) |
IDoffset |
The offset for the ID numbering- this is helpful when joining together multiple ICs |
This function runs a Fortan routine that guarantees the gneerated halo is in thermal equilibrium.
part |
A data.frame containing the main particle level information. Columns included are:
| |||||||||||||||||
params |
A vector containing key set up information:
|
Aaron Robotham, Chris Power
snapread
,snapwrite
,addhead
,genparam
,cosdist
,virialfuncs
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.