|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
: creates Extrapolate object (linear power spectrum) from data and store non-linear parameters call 'operator()(k)' based on k_split (upper range of the linear) More...
#include <core_power.h>


Public Member Functions | |
| Extrap_Pk_Nl (const Data_Vec< T, N > &data, const Sim_Param &sim, T A_nl, T a_eff) | |
| double | operator() (double k) const |
Public Member Functions inherited from Extrap_Pk< T, N > | |
| Extrap_Pk (const Data_Vec< T, N > &data, const Sim_Param &sim) | |
| Extrap_Pk (const Data_Vec< T, N > &data, const Sim_Param &sim, const size_t m_l, const size_t n_u) | |
| Extrap_Pk (const Data_Vec< T, N > &data, const Sim_Param &sim, const size_t m_l, const size_t n_l, const size_t m_u, const size_t n_u) | |
| double | operator() (double k) const |
| void | fit_lin (const Data_Vec< T, N > &data, const size_t m, const size_t n, double &A) |
| void | fit_power_law (const Data_Vec< T, N > &data, const size_t m, const size_t n, double &A, double &n_s) |
Public Member Functions inherited from Interp_obj | |
| Interp_obj () | |
| ~Interp_obj () | |
| double | operator() (double x) const |
| template<typename T , size_t N> | |
| void | init (const Data_Vec< T, N > &data) |
Public Attributes | |
| const T | A_nl |
| const T | a_eff |
| const T | k_split |
Public Attributes inherited from Extrap_Pk< T, N > | |
| double | A_low |
| amplitude of linear power in lower range More... | |
| const Cosmo_Param & | cosmo |
| double | A_up |
| double | n_s |
| scale-free power spectrum in upper range More... | |
| T | k_min |
| T | k_max |
| interpolation range More... | |
Public Attributes inherited from Interp_obj | |
| double | x_min |
| double | x_max |
: creates Extrapolate object (linear power spectrum) from data and store non-linear parameters call 'operator()(k)' based on k_split (upper range of the linear)
Definition at line 146 of file core_power.h.
| Extrap_Pk_Nl< T, N >::Extrap_Pk_Nl | ( | const Data_Vec< T, N > & | data, |
| const Sim_Param & | sim, | ||
| T | A_nl, | ||
| T | a_eff | ||
| ) |
Definition at line 646 of file core_power.cpp.
| double Extrap_Pk_Nl< T, N >::operator() | ( | double | k | ) | const |
Definition at line 650 of file core_power.cpp.
References Extrap_Pk_Nl< T, N >::a_eff, Extrap_Pk_Nl< T, N >::A_nl, Extrap_Pk< T, N >::cosmo, Extrap_Pk_Nl< T, N >::k_split, lin_pow_spec(), non_lin_pow_spec(), and Extrap_Pk< T, N >::operator()().
| const T Extrap_Pk_Nl< T, N >::a_eff |
Definition at line 150 of file core_power.h.
Referenced by Extrap_Pk_Nl< T, N >::operator()().
| const T Extrap_Pk_Nl< T, N >::A_nl |
Definition at line 150 of file core_power.h.
Referenced by Extrap_Pk_Nl< T, N >::operator()().
| const T Extrap_Pk_Nl< T, N >::k_split |
Definition at line 150 of file core_power.h.
Referenced by Extrap_Pk_Nl< T, N >::operator()().