Pinned Repositories
helmholtz
Helmholtz-Hodge decomposition using fft
turbulence_velcoity_field_generation
Generate 3D velocity field on grid of shape (NX, NY, NZ), that has Gaussian pdf, and a given (Kolmogorov-like) power spectrum E(k) with specified normalisation sigma_V and k_max
cic
python code for cloud-in-cell interpolation
hankel
Python code for fast computation of Hankel transforms using Ogata 2005 method
Read_numpy_array_with_Fortran
Pass array from python to Fortran
test_fft_gradient_and_helmholtz
ONLY FOR TESTING!!! 1d fft gradeint, 2d fft gradeint, 2d fft gradeint Helmholtz decomposition
cosmo_basic
Functions for computing cosmic time, distance, volume and the Hubble parameter given redshift and cosmological parameters
DistancePoint2Parabola
Shortest distance from a point on a 2D Cartesian plane to points on a parabola on the plane.
galaxy_cluster_non-thermal_pressure
shixun22's Repositories
shixun22/DistancePoint2Parabola
Shortest distance from a point on a 2D Cartesian plane to points on a parabola on the plane.
shixun22/cosmo_basic
Functions for computing cosmic time, distance, volume and the Hubble parameter given redshift and cosmological parameters
shixun22/cic
python code for cloud-in-cell interpolation
shixun22/hankel
Python code for fast computation of Hankel transforms using Ogata 2005 method
shixun22/helmholtz
Helmholtz-Hodge decomposition using fft
shixun22/turbulence_velcoity_field_generation
Generate 3D velocity field on grid of shape (NX, NY, NZ), that has Gaussian pdf, and a given (Kolmogorov-like) power spectrum E(k) with specified normalisation sigma_V and k_max
shixun22/test_fft_gradient_and_helmholtz
ONLY FOR TESTING!!! 1d fft gradeint, 2d fft gradeint, 2d fft gradeint Helmholtz decomposition
shixun22/Read_numpy_array_with_Fortran
Pass array from python to Fortran
shixun22/galaxy_cluster_non-thermal_pressure