Debugging

The ‘debugging’ parameter category contains parameters for toggling standard features as well as additional information on or off.


particle_reordering

Description

Specifies whether particles within a component are allowed to be periodically reordered in memory

Default

True

Elaboration

After a reordering, the particle data in memory is sorted so that it mimics the particle visiting order when traversing the tiles and subtiles of the short-range force. This improves CPU caching and can lead to a substantial speed-ups.

Example 0

Disable periodic in-memory reordering of particles:

particle_reordering = False

Example 1

In case of several tilings, the reordering will be done with respect to the tiling belong to the short-range force with the largest computation time. Though preferable for performance, this introduces a slight indeterminacy which you may not want. To enable particle reordering but always done with respect to the same short-range force, use

particle_reordering = 'deterministic'

Note

As CONCEPT currently only has a single short-range force implemented ('gravity'), this is — for the moment — equivalent to the default

particle_reordering = True

enable_Hubble

Description

Enable the universal Hubble expansion of the background

Default

True

Elaboration

With enable_Hubble = True (the default), the Hubble expansion is turned on, so that the scale factor \(a(t)\) evolves according to the specified cosmology. For standard cosmological simulations, this is what we want. By default, CLASS is used to provide CONCEPT with \(a(t)\), though this can be disabled.

Example 0

Turn off the Hubble expansion:

enable_Hubble = False

Caution

This is really only intended for use with internal testing. A lot of basic functionality will not work in this mode.