Skip to content

A code to calculate velocity power spectra over large dynamical ranges.

License

Notifications You must be signed in to change notification settings

YujieH3/large-velocity-power-spectrum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Large Velocity Power Spectrum

Work in Progress

Warning: This project is in active development. Some features may change, and full documentation will be available soon.

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.

Features

  • Compute power spectra for velocity, momentum, and kinetic energy from N-body simulation outputs.
  • Scalable and optimized for distributed computing using MPI.

Running the Code

To run the script on multiple cores using MPI:

mpiexec -n <number of cores> python ./scripts/parallel_optimized.py