5 static double transfer_cmblens_nolim(
int l,
double k,
RunParams *par)
10 for(i=0;i<N_CHI;i++) {
11 double chi=(i+0.5)*dchi;
15 double jl=csm_j_bessel(l,k*chi);
38 double chi0=(l+0.5)/k;
39 double chi1=(l+1.5)/k;
50 double term0=pz0*fg0*gf0*h0*(1+8.*
l)/((2*l+1.)*(2*l+1.));
51 double term1=pz1*fg1*gf1*h1*
sqrt((l+0.5)/(l+1.5))*4./(2*l+3);
109 if(!strcmp(trtype,
"nc")) {
111 dam_report_error(1,
"Asked to calculate NC transfer function, but can't!\n");
123 if(!strcmp(trtype,
"isw")) {
125 dam_report_error(1,
"Asked to calculate ISW transfer function, but can't!\n");
129 if(!strcmp(trtype,
"shear")) {
131 dam_report_error(1,
"Asked to calculate shear transfer function, but can't!\n");
135 if(!strcmp(trtype,
"cmblens")) {
137 dam_report_error(1,
"Asked to calculate shear transfer function, but can't!\n");
140 return transfer_cmblens_nolim(l,k,par);
void dam_report_error(int level, char *fmt,...)
static double transfer_rsd(int l, double k, RunParams *par, int ibin)
static double transfer_lensing(int l, double k, RunParams *par, int ibin)
Grid< NDIM, T > sqrt(Grid< NDIM, T > lhs)
double spline_eval(double x, SplPar *spl)
static double transfer_isw(int l, double k, RunParams *par)
static double transfer_magnification(int l, double k, RunParams *par, int ibin)
double transfer_wrap(int l, double k, RunParams *par, char *trtype, int ibin)
static double transfer_dens(int l, double k, RunParams *par, int ibin)
static double w[2][28][111]
static double transfer_cmblens(int l, double k, RunParams *par)