paper

STEPSIC: Initial condition generator for stereographic cosmological simulations

arXiv:2605.10354

Abstract

We present STEPSIC, an open-source initial condition generator for cosmological N-body simulations in the periodic cuboid, spherical, and cylindrical geometries supported by StePS. It succeeds the earlier StePS initial condition code and extends it to periodic cuboids with arbitrary aspect ratios and cylindrical topologies. Gaussian density fields are generated on a periodic Fourier grid. First- and second-order Lagrangian perturbation theory (LPT) displacements and velocities are interpolated to lattices or relaxed glasses with radially varying particle masses. For spherical and cylindrical domains, an enclosing periodic box supplies the fields, and a multiresolution scheme matches resolved wavelengths to local particle mass. With identical white noise, the periodic calculation agrees with monofonIC to within in power spectrum and in median particle displacement. On relaxed spherical and cylindrical glasses, comparison with independent sums over retained Fourier modes gives errors consistent with linear interpolation. For an enclosing box of one domain diameter, the root-mean-square relative displacement of two points in the high-resolution region differs from the infinite-Universe value by at most out of at , while domain-scale mean-density variance is suppressed. In one cylindrical realization evolved to , doubling the enclosing box shifts the high-resolution region by ; after removing this bulk displacement, power spectra differ by at most . In a cylindrical StePS simulation evolved to , first-order initial conditions leave up to less nonlinear power than second-order ones, consistent with LPT transients.

arXiv commentRevised manuscript with expanded validation and performance analysis