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

timescaleDynamicaldouble precision

The characteristic dynamical timescale of a dark matter halo.

  • type(treeNode), intent(inout) :: node

velocityVirialdouble precision

Returns 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), intent(inout) :: node

velocityVirialGrowthRatedouble precision

The growth rate of the virial velocity of a dark matter halo.

  • type(treeNode), intent(inout) :: node

temperatureVirialdouble precision

Returns 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), intent(inout) :: node

radiusVirialdouble precision

Returns 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), intent(inout) :: node

radiusVirialGradientLogarithmicMassdouble precision

The logarithmic gradient of virial radius of a dark matter halo with halo mass at fixed epoch.

  • type(treeNode), intent(inout) :: node

radiusVirialGrowthRatedouble precision

Returns 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), intent(inout) :: node

densityMeandouble precision

Returns 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), intent(inout) :: node

densityMeanGrowthRatedouble precision

Returns 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), intent(inout) :: node

darkMatterHaloScaleVirialDensityContrastDefinition

Dark matter halo scales derived from virial density contrasts.

(Default implementation)

Methods

  • calculationReset — Reset memoized calculations.