Monday, 07/24: Writing a pm-code - AIP
Monday, 07/24: Writing a pm-code - AIP
Monday, 07/24: Writing a pm-code - AIP
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Setting up cosmological ICs 40<br />
The displacement vector S is given by the discrete Fourier transform (e.g.,<br />
Padmanabhan 1993, p.294):<br />
S(q) = α<br />
k∑<br />
max<br />
k x,y,z =−k max<br />
ik c k exp (ik · q) ;<br />
k x,y,z = 2π<br />
N g<br />
l, m, n; l, m, n = 0, ±1, ..., ±N p,1 /2; k 2 = k 2 x + k 2 y + k 2 z ≠ 0.<br />
Here, α is the power spectrum normalization. The summation is over all<br />
possible wavenumbers from the fundamental mode with wavelentgh equal to<br />
the box size to the smallest “Nyquist” wavelength with the wavenumber of<br />
N p,1 /2. The real and imaginary components of the Fourier coefficients,<br />
c k = (a k − ib k )/2 are independent gaussian random numbers with the mean<br />
zero and dispersion σ 2 = P (k)/k 4 :<br />
a k = √ P (k)<br />
Gauss(0, 1)<br />
k 2 , b k = √ P (k)<br />
Gauss(0, 1)<br />
k 2 .<br />
Note that c k should satisfy condition c k = c ∗ −k = (a k − ib k )/2.