CLASS MANUAL
lensing.h File Reference
#include "harmonic.h"
+ Include dependency graph for lensing.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lensing
 

Detailed Description

Documented includes for harmonic module


Data Structure Documentation

◆ lensing

struct lensing

Structure containing everything about lensed spectra that other modules need to know.

Once initialized by lensing_init(), contains a table of all lensed $ C_l$'s for the all modes (scalar/tensor), all types (TT, TE...), and all pairs of initial conditions (adiabatic, isocurvatures...). FOR THE MOMENT, ASSUME ONLY SCALAR & ADIABATIC

Data Fields
short has_lensed_cls

do we need to compute lensed $ C_l$'s at all ?

int has_tt

do we want lensed $ C_l^{TT}$? (T = temperature)

int has_ee

do we want lensed $ C_l^{EE}$? (E = E-polarization)

int has_te

do we want lensed $ C_l^{TE}$?

int has_bb

do we want $ C_l^{BB}$? (B = B-polarization)

int has_pp

do we want $ C_l^{\phi\phi}$? ( $ \phi $ = CMB lensing potential)

int has_tp

do we want $ C_l^{T\phi}$?

int has_dd

do we want $ C_l^{dd}$? (d = matter density)

int has_td

do we want $ C_l^{Td}$?

int has_ll

do we want $ C_l^{ll}$? (l = lensing potential)

int has_tl

do we want $ C_l^{Tl}$?

int index_lt_tt

index for type $ C_l^{TT} $

int index_lt_ee

index for type $ C_l^{EE} $

int index_lt_te

index for type $ C_l^{TE} $

int index_lt_bb

index for type $ C_l^{BB} $

int index_lt_pp

index for type $ C_l^{\phi\phi} $

int index_lt_tp

index for type $ C_l^{T\phi} $

int index_lt_dd

index for type $ C_l^{dd} $

int index_lt_td

index for type $ C_l^{Td} $

int index_lt_ll

index for type $ C_l^{dd} $

int index_lt_tl

index for type $ C_l^{Td} $

int lt_size

number of $ C_l$ types requested

int l_unlensed_max

last multipole in all calculations (same as in harmonic module)

int l_lensed_max

last multipole at which lensed spectra are computed

int l_size

number of l values

int * l_max_lt

last multipole (given as an input) at which we want to output $ C_l $'s for a given mode and type

double * l

table of multipole values l[index_l]

double * cl_lens

table of anisotropy spectra for each multipole and types, cl[index_l * ple->lt_size + index_lt]

double * ddcl_lens

second derivatives for interpolation

short lensing_verbose

flag regulating the amount of information sent to standard output (none if set to zero)

ErrorMsg error_message

zone for writing error messages