NcHIPertBoltzmann

NcHIPertBoltzmann — Abstract class for perturbative Boltzmann hierarchy.

Functions

void (*NcHIPertBoltzmannCreate) ()
void (*NcHIPertBoltzmannPrepare) ()
void (*NcHIPertBoltzmannConf) ()
void (*NcHIPertBoltzmannEvol) ()
gboolean (*NcHIPertBoltzmannTest) ()
void (*NcHIPertBoltzmannSources) ()
gdouble (*NcHIPertBoltzmannGet) ()
gdouble (*NcHIPertBoltzmannGetN) ()
void (*NcHIPertBoltzmannGetCl) ()
#define NC_HIPERT_BOLTZMANN_THETA()
#define NC_HIPERT_BOLTZMANN_THETA_P()
NcHIPertBoltzmann * nc_hipert_boltzmann_ref ()
void nc_hipert_boltzmann_free ()
void nc_hipert_boltzmann_clear ()
void nc_hipert_boltzmann_set_recomb ()
void nc_hipert_boltzmann_set_target_Cls ()
void nc_hipert_boltzmann_append_target_Cls ()
NcDataCMBDataType nc_hipert_boltzmann_get_target_Cls ()
void nc_hipert_boltzmann_set_calc_transfer ()
gboolean nc_hipert_boltzmann_get_calc_transfer ()
void nc_hipert_boltzmann_set_lensed_Cls ()
gboolean nc_hipert_boltzmann_lensed_Cls ()
void nc_hipert_boltzmann_set_tensor ()
gboolean nc_hipert_boltzmann_tensor ()
void nc_hipert_boltzmann_set_PHIPHI_lmax ()
void nc_hipert_boltzmann_set_TT_lmax ()
void nc_hipert_boltzmann_set_EE_lmax ()
void nc_hipert_boltzmann_set_BB_lmax ()
void nc_hipert_boltzmann_set_TE_lmax ()
void nc_hipert_boltzmann_set_TB_lmax ()
void nc_hipert_boltzmann_set_EB_lmax ()
guint nc_hipert_boltzmann_get_PHIPHI_lmax ()
guint nc_hipert_boltzmann_get_TT_lmax ()
guint nc_hipert_boltzmann_get_EE_lmax ()
guint nc_hipert_boltzmann_get_BB_lmax ()
guint nc_hipert_boltzmann_get_TE_lmax ()
guint nc_hipert_boltzmann_get_TB_lmax ()
guint nc_hipert_boltzmann_get_EB_lmax ()
void nc_hipert_boltzmann_prepare ()
void nc_hipert_boltzmann_prepare_if_needed ()
void nc_hipert_boltzmann_get_PHIPHI_Cls ()
void nc_hipert_boltzmann_get_TT_Cls ()
void nc_hipert_boltzmann_get_EE_Cls ()
void nc_hipert_boltzmann_get_BB_Cls ()
void nc_hipert_boltzmann_get_TE_Cls ()
void nc_hipert_boltzmann_get_TB_Cls ()
void nc_hipert_boltzmann_get_EB_Cls ()
#define NC_HIPERT_BOLTZMANN_LAMBDA2X()
#define NC_HIPERT_BOLTZMANN_X2LAMBDA()

Properties

guint BB-l-max Read / Write / Construct
guint EB-l-max Read / Write / Construct
guint EE-l-max Read / Write / Construct
guint PHIPHI-l-max Read / Write / Construct
guint TB-l-max Read / Write / Construct
guint TE-l-max Read / Write / Construct
guint TT-l-max Read / Write / Construct
gboolean calc-transfer Read / Write / Construct
NcRecomb * recomb Read / Write
NcDataCMBDataType target-Cls Read / Write / Construct
gboolean use-lensed-Cls Read / Write / Construct
gboolean use-tensor Read / Write / Construct

Types and Values

Object Hierarchy

    GEnum
    ╰── NcHIPertBoltzmannVars
    GObject
    ╰── NcHIPert
        ╰── NcHIPertBoltzmann
            ├── NcHIPertBoltzmannCBE
            ├── NcHIPertBoltzmannStd
            ╰── NcHIPertFirstOrder

Description

FIXME

Functions

NcHIPertBoltzmannCreate ()

void
(*NcHIPertBoltzmannCreate) (NcHIPertBoltzmann *pb,
                            NcHICosmo *cosmo);

NcHIPertBoltzmannPrepare ()

void
(*NcHIPertBoltzmannPrepare) (NcHIPertBoltzmann *pb,
                             NcHICosmo *cosmo);

NcHIPertBoltzmannConf ()

void
(*NcHIPertBoltzmannConf) (NcHIPertBoltzmann *pb);

NcHIPertBoltzmannEvol ()

void
(*NcHIPertBoltzmannEvol) (NcHIPertBoltzmann *pb,
                          gdouble g);

NcHIPertBoltzmannTest ()

gboolean
(*NcHIPertBoltzmannTest) (NcHIPertBoltzmann *pb);

NcHIPertBoltzmannSources ()

void
(*NcHIPertBoltzmannSources) (NcHIPertBoltzmann *pb,
                             gdouble *S0,
                             gdouble *S1,
                             gdouble *S2);

NcHIPertBoltzmannGet ()

gdouble
(*NcHIPertBoltzmannGet) (NcHIPertBoltzmann *pb);

NcHIPertBoltzmannGetN ()

gdouble
(*NcHIPertBoltzmannGetN) (NcHIPertBoltzmann *pb,
                          guint n);

NcHIPertBoltzmannGetCl ()

void
(*NcHIPertBoltzmannGetCl) (NcHIPertBoltzmann *pb,
                           NcmVector *Cls);

NC_HIPERT_BOLTZMANN_THETA()

#define NC_HIPERT_BOLTZMANN_THETA(n)   ((n <= 2) ? (_itheta_table[n])   : (NC_HIPERT_BOLTZMANN_THETA_P2 + 1) + (2 * (n - 3)))

NC_HIPERT_BOLTZMANN_THETA_P()

#define NC_HIPERT_BOLTZMANN_THETA_P(n) ((n <= 2) ? (_itheta_p_table[n]) : (NC_HIPERT_BOLTZMANN_THETA_P2 + 1) + (2 * (n - 3) + 1))

nc_hipert_boltzmann_ref ()

NcHIPertBoltzmann *
nc_hipert_boltzmann_ref (NcHIPertBoltzmann *pb);

Increases the reference count of pb .

Parameters

Returns

pb .

[transfer full]


nc_hipert_boltzmann_free ()

void
nc_hipert_boltzmann_free (NcHIPertBoltzmann *pb);

Decreases the reference count of pb .

Parameters


nc_hipert_boltzmann_clear ()

void
nc_hipert_boltzmann_clear (NcHIPertBoltzmann **pb);

Decreases the reference count of *pb and sets *pb to NULL.

Parameters


nc_hipert_boltzmann_set_recomb ()

void
nc_hipert_boltzmann_set_recomb (NcHIPertBoltzmann *pb,
                                NcRecomb *recomb);

Sets the NcRecomb object to be used in the Boltzmann evolution.

Parameters

pb

a NcHIPertBoltzmann.

 

recomb

a NcRecomb.

 

nc_hipert_boltzmann_set_target_Cls ()

void
nc_hipert_boltzmann_set_target_Cls (NcHIPertBoltzmann *pb,
                                    NcDataCMBDataType tCls);

FIXME

Parameters

pb

a NcHIPertBoltzmann

 

tCls

Cls targets

 

nc_hipert_boltzmann_append_target_Cls ()

void
nc_hipert_boltzmann_append_target_Cls (NcHIPertBoltzmann *pb,
                                       NcDataCMBDataType tCls);

FIXME

Parameters

pb

a NcHIPertBoltzmann

 

tCls

Cls targets

 

nc_hipert_boltzmann_get_target_Cls ()

NcDataCMBDataType
nc_hipert_boltzmann_get_target_Cls (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_set_calc_transfer ()

void
nc_hipert_boltzmann_set_calc_transfer (NcHIPertBoltzmann *pb,
                                       gboolean calc_transfer);

FIXME

Parameters

pb

a NcHIPertBoltzmann

 

calc_transfer

a boolean

 

nc_hipert_boltzmann_get_calc_transfer ()

gboolean
nc_hipert_boltzmann_get_calc_transfer (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_set_lensed_Cls ()

void
nc_hipert_boltzmann_set_lensed_Cls (NcHIPertBoltzmann *pb,
                                    gboolean use_lensed_Cls);

FIXME

Parameters

pb

a NcHIPertBoltzmann

 

use_lensed_Cls

a boolean

 

nc_hipert_boltzmann_lensed_Cls ()

gboolean
nc_hipert_boltzmann_lensed_Cls (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_set_tensor ()

void
nc_hipert_boltzmann_set_tensor (NcHIPertBoltzmann *pb,
                                gboolean use_tensor);

FIXME

Parameters

pb

a NcHIPertBoltzmann

 

use_tensor

a boolean

 

nc_hipert_boltzmann_tensor ()

gboolean
nc_hipert_boltzmann_tensor (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_set_PHIPHI_lmax ()

void
nc_hipert_boltzmann_set_PHIPHI_lmax (NcHIPertBoltzmann *pb,
                                     guint lmax);

FIXME

Parameters

pb

a NcHIPertBoltzmann.

 

lmax

last mutipole.

 

nc_hipert_boltzmann_set_TT_lmax ()

void
nc_hipert_boltzmann_set_TT_lmax (NcHIPertBoltzmann *pb,
                                 guint lmax);

FIXME

Parameters

pb

a NcHIPertBoltzmann.

 

lmax

last mutipole.

 

nc_hipert_boltzmann_set_EE_lmax ()

void
nc_hipert_boltzmann_set_EE_lmax (NcHIPertBoltzmann *pb,
                                 guint lmax);

FIXME

Parameters

pb

a NcHIPertBoltzmann.

 

lmax

last mutipole.

 

nc_hipert_boltzmann_set_BB_lmax ()

void
nc_hipert_boltzmann_set_BB_lmax (NcHIPertBoltzmann *pb,
                                 guint lmax);

FIXME

Parameters

pb

a NcHIPertBoltzmann.

 

lmax

last mutipole.

 

nc_hipert_boltzmann_set_TE_lmax ()

void
nc_hipert_boltzmann_set_TE_lmax (NcHIPertBoltzmann *pb,
                                 guint lmax);

FIXME

Parameters

pb

a NcHIPertBoltzmann.

 

lmax

last mutipole.

 

nc_hipert_boltzmann_set_TB_lmax ()

void
nc_hipert_boltzmann_set_TB_lmax (NcHIPertBoltzmann *pb,
                                 guint lmax);

FIXME

Parameters

pb

a NcHIPertBoltzmann.

 

lmax

last mutipole.

 

nc_hipert_boltzmann_set_EB_lmax ()

void
nc_hipert_boltzmann_set_EB_lmax (NcHIPertBoltzmann *pb,
                                 guint lmax);

FIXME

Parameters

pb

a NcHIPertBoltzmann.

 

lmax

last mutipole.

 

nc_hipert_boltzmann_get_PHIPHI_lmax ()

guint
nc_hipert_boltzmann_get_PHIPHI_lmax (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_get_TT_lmax ()

guint
nc_hipert_boltzmann_get_TT_lmax (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_get_EE_lmax ()

guint
nc_hipert_boltzmann_get_EE_lmax (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_get_BB_lmax ()

guint
nc_hipert_boltzmann_get_BB_lmax (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_get_TE_lmax ()

guint
nc_hipert_boltzmann_get_TE_lmax (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_get_TB_lmax ()

guint
nc_hipert_boltzmann_get_TB_lmax (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_get_EB_lmax ()

guint
nc_hipert_boltzmann_get_EB_lmax (NcHIPertBoltzmann *pb);

FIXME

Parameters

Returns

FIXME


nc_hipert_boltzmann_prepare ()

void
nc_hipert_boltzmann_prepare (NcHIPertBoltzmann *pb,
                             NcHICosmo *cosmo);

Prepares the NcHIPertBoltzmann object.

[virtual prepare]

Parameters

pb

a NcHIPertBoltzmann

 

cosmo

a NcHICosmo

 

nc_hipert_boltzmann_prepare_if_needed ()

void
nc_hipert_boltzmann_prepare_if_needed (NcHIPertBoltzmann *pb,
                                       NcHICosmo *cosmo);

Prepares the NcHIPertBoltzmann object if not prepared for cosmo .

[virtual prepare_if_needed]

Parameters

pb

a NcHIPertBoltzmann

 

cosmo

a NcHICosmo

 

nc_hipert_boltzmann_get_PHIPHI_Cls ()

void
nc_hipert_boltzmann_get_PHIPHI_Cls (NcHIPertBoltzmann *pb,
                                    NcmVector *Cls);

Prepares the NcHIPertBoltzmann object.

[virtual get_PHIPHI_Cls]

Parameters

pb

a NcHIPertBoltzmann.

 

Cls

a NcmVector

 

nc_hipert_boltzmann_get_TT_Cls ()

void
nc_hipert_boltzmann_get_TT_Cls (NcHIPertBoltzmann *pb,
                                NcmVector *Cls);

Prepares the NcHIPertBoltzmann object.

[virtual get_TT_Cls]

Parameters

pb

a NcHIPertBoltzmann.

 

Cls

a NcmVector

 

nc_hipert_boltzmann_get_EE_Cls ()

void
nc_hipert_boltzmann_get_EE_Cls (NcHIPertBoltzmann *pb,
                                NcmVector *Cls);

Prepares the NcHIPertBoltzmann object.

[virtual get_EE_Cls]

Parameters

pb

a NcHIPertBoltzmann.

 

Cls

a NcmVector

 

nc_hipert_boltzmann_get_BB_Cls ()

void
nc_hipert_boltzmann_get_BB_Cls (NcHIPertBoltzmann *pb,
                                NcmVector *Cls);

Prepares the NcHIPertBoltzmann object.

[virtual get_BB_Cls]

Parameters

pb

a NcHIPertBoltzmann.

 

Cls

a NcmVector

 

nc_hipert_boltzmann_get_TE_Cls ()

void
nc_hipert_boltzmann_get_TE_Cls (NcHIPertBoltzmann *pb,
                                NcmVector *Cls);

Prepares the NcHIPertBoltzmann object.

[virtual get_TE_Cls]

Parameters

pb

a NcHIPertBoltzmann

 

Cls

a NcmVector

 

nc_hipert_boltzmann_get_TB_Cls ()

void
nc_hipert_boltzmann_get_TB_Cls (NcHIPertBoltzmann *pb,
                                NcmVector *Cls);

Prepares the NcHIPertBoltzmann object.

[virtual get_TB_Cls]

Parameters

pb

a NcHIPertBoltzmann.

 

Cls

a NcmVector

 

nc_hipert_boltzmann_get_EB_Cls ()

void
nc_hipert_boltzmann_get_EB_Cls (NcHIPertBoltzmann *pb,
                                NcmVector *Cls);

Prepares the NcHIPertBoltzmann object.

[virtual get_EB_Cls]

Parameters

pb

a NcHIPertBoltzmann

 

Cls

a NcmVector

 

NC_HIPERT_BOLTZMANN_LAMBDA2X()

#define NC_HIPERT_BOLTZMANN_LAMBDA2X(lambda) (exp (-(lambda)))

NC_HIPERT_BOLTZMANN_X2LAMBDA()

#define NC_HIPERT_BOLTZMANN_X2LAMBDA(x) (-log (x))

Types and Values

enum NcHIPertBoltzmannVars

FIXME

Members

NC_HIPERT_BOLTZMANN_B0

FIXME

 

NC_HIPERT_BOLTZMANN_THETA0

FIXME

 

NC_HIPERT_BOLTZMANN_C0

FIXME

 

NC_HIPERT_BOLTZMANN_PHI

FIXME

 

NC_HIPERT_BOLTZMANN_B1

FIXME

 

NC_HIPERT_BOLTZMANN_THETA1

FIXME

 

NC_HIPERT_BOLTZMANN_C1

FIXME

 

NC_HIPERT_BOLTZMANN_THETA2

FIXME

 

NC_HIPERT_BOLTZMANN_THETA_P0

FIXME

 

NC_HIPERT_BOLTZMANN_THETA_P1

FIXME

 

NC_HIPERT_BOLTZMANN_THETA_P2

FIXME

 

NC_HIPERT_BOLTZMANN_BASE_SIZE

#define NC_HIPERT_BOLTZMANN_BASE_SIZE (NC_HIPERT_BOLTZMANN_THETA2 + 1)

NC_HIPERT_BOLTZMANN_dB0

#define NC_HIPERT_BOLTZMANN_dB0     NC_HIPERT_BOLTZMANN_B0

NC_HIPERT_BOLTZMANN_V

#define NC_HIPERT_BOLTZMANN_V       NC_HIPERT_BOLTZMANN_C1

NC_HIPERT_BOLTZMANN_T

#define NC_HIPERT_BOLTZMANN_T       NC_HIPERT_BOLTZMANN_B1

NC_HIPERT_BOLTZMANN_dTHETA0

#define NC_HIPERT_BOLTZMANN_dTHETA0 NC_HIPERT_BOLTZMANN_THETA0

NC_HIPERT_BOLTZMANN_U

#define NC_HIPERT_BOLTZMANN_U       NC_HIPERT_BOLTZMANN_THETA1

Property Details

The “BB-l-max” property

  “BB-l-max”                 guint

Last multipole in the BB correlation.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Allowed values: >= 4

Default value: 4


The “EB-l-max” property

  “EB-l-max”                 guint

Last multipole in the EB correlation.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Allowed values: >= 4

Default value: 4


The “EE-l-max” property

  “EE-l-max”                 guint

Last multipole in the EE correlation.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Allowed values: >= 4

Default value: 4


The “PHIPHI-l-max” property

  “PHIPHI-l-max”             guint

Last multipole in the PHIPHI correlation.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Allowed values: >= 4

Default value: 4


The “TB-l-max” property

  “TB-l-max”                 guint

Last multipole in the TB correlation.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Allowed values: >= 4

Default value: 4


The “TE-l-max” property

  “TE-l-max”                 guint

Last multipole in the TE correlation.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Allowed values: >= 4

Default value: 4


The “TT-l-max” property

  “TT-l-max”                 guint

Last multipole in the TT correlation.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Allowed values: >= 4

Default value: 30


The “calc-transfer” property

  “calc-transfer”            gboolean

Whether to calculate the matter transfer function.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Default value: FALSE


The “recomb” property

  “recomb”                   NcRecomb *

Recombination object.

Owner: NcHIPertBoltzmann

Flags: Read / Write


The “target-Cls” property

  “target-Cls”               NcDataCMBDataType

Which Cls must be calculated.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Default value: NC_DATA_CMB_TYPE_TT


The “use-lensed-Cls” property

  “use-lensed-Cls”           gboolean

Whether use the lensed corrected Cls.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Default value: TRUE


The “use-tensor” property

  “use-tensor”               gboolean

Whether use tensor contribution.

Owner: NcHIPertBoltzmann

Flags: Read / Write / Construct

Default value: FALSE