CosmoGRaPH v0.0
ICs.h
1 #ifndef COSMO_ICS
2 #define COSMO_ICS
3 
4 #include "../cosmo_includes.h"
5 #include "../cosmo_types.h"
6 #include "../cosmo_globals.h"
7 
8 #include "../utils/Fourier.h"
9 
10 #if USE_COSMOTRACE
11 #include "../components/cosmotrace/raytrace.h"
12 #endif
13 
14 namespace cosmo
15 {
16 
17 real_t cosmo_power_spectrum(real_t k, real_t A, real_t k0);
18 void set_gaussian_random_Phi_N(arr_t & field, Fourier *fourier,
19  real_t A, real_t k0, real_t p_cut);
20 void set_gaussian_random_Phi_N(arr_t & field, Fourier *fourier,
21  real_t A, real_t p0, real_t p_cut, bool fix_amplitude);
22 
23 #if USE_COSMOTRACE
24 void init_ray_vector(std::vector<RayTrace<real_t, idx_t> *> * rays);
25 void init_healpix_ray_vectors(std::vector<RayTrace<real_t, idx_t> *> * rays);
26 void init_random_ray_vectors(std::vector<RayTrace<real_t, idx_t> *> * rays);
27 #endif
28 
29 } // namespace cosmo
30 
31 #endif
Definition: bardeen.cc:5