This project aims to calculate the velocity, momentum, and kinetic energy power spectrum over a large dynamical range for N-body simulations. This code is designed to handle large-scale simulations using parallelization via MPI, making it scalable across multiple cores.
- Compute power spectra for velocity, momentum, and kinetic energy from N-body simulation outputs.
- Scalable and optimized for distributed computing using MPI.
To run the script on multiple cores using MPI:
mpiexec -n <number of cores> python ./scripts/parallel_optimized.py