Dark Matter Halo Scales¶
Class providing the characteristic physical scales of dark matter halos, including the virial radius, virial velocity, virial temperature, mean density, and dynamical timescale. These scales define the boundary and characteristic properties of a dark matter halo and are required by many other classes that compute cooling rates, star formation, and satellite orbital dynamics.
Default implementation: darkMatterHaloScaleVirialDensityContrastDefinition
Methods¶
timescaleDynamical→double precisionThe characteristic dynamical timescale of a dark matter halo.
type(treeNode) node[inout]
velocityVirial→double precisionReturns the virial velocity (in km/s) of the dark matter halo associated with
node, defined as the circular velocity at the virial radius and providing a characteristic velocity scale for the halo.type(treeNode) node[inout]
velocityVirialGrowthRate→double precisionThe growth rate of the virial velocity of a dark matter halo.
type(treeNode) node[inout]
temperatureVirial→double precisionReturns the virial temperature (in K) of the dark matter halo associated with
node, i.e. the characteristic gas temperature corresponding to the virial velocity, below which gas can be thermally supported against gravitational collapse.type(treeNode) node[inout]
radiusVirial→double precisionReturns the virial radius (in Mpc) of the dark matter halo associated with
node, defined as the radius within which the mean interior density equals a specified overdensity threshold times the critical or mean density.type(treeNode) node[inout]
radiusVirialGradientLogarithmicMass→double precisionThe logarithmic gradient of virial radius of a dark matter halo with halo mass at fixed epoch.
type(treeNode) node[inout]
radiusVirialGrowthRate→double precisionReturns the time derivative of the virial radius (in Mpc/Gyr) of the dark matter halo associated with
node, indicating how rapidly the halo is growing or shrinking in physical size.type(treeNode) node[inout]
densityMean→double precisionReturns the mean interior density (in \(\mathrm{M}_\odot\) Mpc\(^{-3}\)) of the dark matter halo associated with
node, computed as the halo mass divided by its virial volume, representing the average density within the virial radius.type(treeNode) node[inout]
densityMeanGrowthRate→double precisionReturns the time derivative of the mean interior density (in \(\mathrm{M}_\odot\) Mpc\(^{-3}\) Gyr\(^{-1}\)) of the dark matter halo associated with
node, reflecting how the balance between mass accretion and volume growth changes over time.type(treeNode) node[inout]
darkMatterHaloScaleVirialDensityContrastDefinition¶
Dark matter halo scales derived from virial density contrasts.
(Default implementation)
Methods
calculationResetReset memoized calculations.
type(treeNode) node[inout]integer(kind_int8) uniqueID[in]