mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-07 08:41:11 +00:00
Imported Healpix, cfitsio, cosmotool. Added cmake tool to build dependencies (cfitsio, hdf5, netcdf, boost, healpix, gsl, ..). Adjusted CMakeLists.txt
This commit is contained in:
parent
4bfb62f177
commit
51f6798f88
241 changed files with 243806 additions and 0 deletions
35
external/cosmotool/src/powerSpectrum.hpp
vendored
Normal file
35
external/cosmotool/src/powerSpectrum.hpp
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
#ifndef _POWERSPECTRUM_HPP
|
||||
#define _POWERSPECTRUM_HPP
|
||||
|
||||
namespace Cosmology {
|
||||
|
||||
extern double n;
|
||||
extern double K0;
|
||||
extern double V0;
|
||||
|
||||
extern double CMB_VECTOR[3];
|
||||
|
||||
// WMAP5
|
||||
extern double h;
|
||||
extern double SIGMA8;
|
||||
extern double OMEGA_B;
|
||||
extern double OMEGA_C;
|
||||
|
||||
extern double OMEGA_0;
|
||||
extern double Omega;
|
||||
extern double Theta_27;
|
||||
extern double beta;
|
||||
extern double OmegaEff;
|
||||
extern double Gamma0;
|
||||
|
||||
void updateCosmology();
|
||||
double tophatFilter(double u);
|
||||
double powerSpectrum(double k, double normPower);
|
||||
double computePowSpecNorm(double sigma8);
|
||||
double computeVariance(double powNorm, double topHatRad1);
|
||||
double computeVarianceZero(double powNorm);
|
||||
double computeCorrel(double powNorm, double topHatRad1);
|
||||
double computeCorrel2(double powNorm, double topHatRad1, double topHatRad2);
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue