NcHIReion

NcHIReion — Abstract class for implementing homogeneous and isotropic reionization models.

Functions

Properties

double prec Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmModel
        ╰── NcHIReion
            ╰── NcHIReionCamb

Description

$ \newcommand{\He}{\text{He}} \newcommand{\HeI}{\text{HeI}} \newcommand{\HeII}{\text{HeII}} \newcommand{\HeIII}{\text{HeIII}} \newcommand{\Hy}{\text{H}} \newcommand{\HyI}{\text{HI}} \newcommand{\HyII}{\text{HII}} \newcommand{\e}{{\text{e}^-}} $

See NcRecomb for symbol definitions.

FIXME

Functions

nc_hireion_ref ()

NcHIReion *
nc_hireion_ref (NcHIReion *reion);

Increses the reference count of reion by one.

Parameters

reion

a NcHIReion

 

Returns

reion .

[transfer full]


nc_hireion_free ()

void
nc_hireion_free (NcHIReion *reion);

Decreases the reference count of reion by one.

Parameters

reion

a NcHIReion

 

nc_hireion_clear ()

void
nc_hireion_clear (NcHIReion **reion);

If reion is different from NULL, decreses the reference count of *reion by one and sets *reion to NULL.

Parameters

reion

a NcHIReion

 

nc_hireion_get_init_x ()

gdouble
nc_hireion_get_init_x (NcHIReion *reion,
                       NcHICosmo *cosmo);

Gets the redshift ($x = 1 + z$) where the reionization begins.

[virtual get_init_x]

Parameters

reion

a NcHIReion

 

cosmo

a NcHICosmo

 

Returns

$x_\mathrm{init}$.


nc_hireion_get_Xe ()

gdouble
nc_hireion_get_Xe (NcHIReion *reion,
                   NcHICosmo *cosmo,
                   const gdouble lambda,
                   const gdouble Xe_recomb);

Gets the electron fraction from reionization $X_\e$.

[virtual get_Xe]

Parameters

reion

a NcHIReion

 

cosmo

a NcHICosmo

 

lambda

redshift time

 

Xe_recomb

recombination value for $X_\e$

 

Returns

$X_\e$.


nc_hireion_get_tau ()

gdouble
nc_hireion_get_tau (NcHIReion *reion,
                    NcHICosmo *cosmo);

Calculates the reionization optical depth $\tau_\mathrm{reion}$.

[virtual get_tau]

Parameters

reion

a NcHIReion

 

cosmo

a NcHICosmo

 

Returns

$\tau_\mathrm{reion}$.

Types and Values

NC_HIREION_DEFAULT_PARAMS_ABSTOL

#define NC_HIREION_DEFAULT_PARAMS_ABSTOL (0.0)

Property Details

The “prec” property

  “prec”                     double

Precision for reionization calculations.

Owner: NcHIReion

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 1e-07