NcHIPertEM

NcHIPertEM — Perturbation object for electromagnetic mode.

Functions

Properties

double k Read / Write / Construct

Types and Values

Object Hierarchy

    GEnum
    ╰── NcHIPertEMVars
    GInterface
    ╰── NcHIPertIEM
    GObject
    ╰── NcmCSQ1D
        ╰── NcHIPertEM

Prerequisites

NcHIPertIEM requires GObject.

Description

This object provides the computation of the electromagnetic wave mode for the cosmological perturbations. It solves the equation of motion for the (cosmological) gauge invariant variable $A$.

Functions

nc_hipert_iem_eval_xi ()

gdouble
nc_hipert_iem_eval_xi (NcHIPertIEM *iem,
                       const gdouble tau,
                       const gdouble k);

Computes the value of $\xi = \ln(m\nu)$

Parameters

iem

a NcHIPertIEM

 

tau

$\tau$

 

k

$k$

 

Returns

$\xi$.


nc_hipert_iem_eval_F1 ()

gdouble
nc_hipert_iem_eval_F1 (NcHIPertIEM *iem,
                       const gdouble tau,
                       const gdouble k);

Computes the value of $F_1 = \dot{\xi}/(2\nu)$.

Parameters

iem

a NcHIPertIEM

 

tau

$\tau$

 

k

$k$

 

Returns

$F_1$.


nc_hipert_iem_eval_nu ()

gdouble
nc_hipert_iem_eval_nu (NcHIPertIEM *iem,
                       const gdouble tau,
                       const gdouble k);

Computes the value of $\nu$.

Parameters

iem

a NcHIPertIEM

 

tau

$\tau$

 

k

$k$

 

Returns

$\nu$.


nc_hipert_iem_eval_m ()

gdouble
nc_hipert_iem_eval_m (NcHIPertIEM *iem,
                      const gdouble tau,
                      const gdouble k);

Computes the value of $m$.

Parameters

iem

a NcHIPertIEM

 

tau

$\tau$

 

k

$k$

 

Returns

$m$.


nc_hipert_iem_eval_unit ()

gdouble
nc_hipert_iem_eval_unit (NcHIPertIEM *iem);

FIXME

Parameters

iem

a NcHIPertIEM

 

Returns

FIXME.


nc_hipert_iem_eval_x ()

gdouble
nc_hipert_iem_eval_x (NcHIPertIEM *iem,
                      const gdouble tau);

Evaluates the value of $x = a_0 / a$ at a given time $\tau$.

Parameters

iem

a NcHIPertIEM

 

tau

$\tau$

 

Returns

$x$.


nc_hipert_em_new ()

NcHIPertEM *
nc_hipert_em_new (void);

Creates a new NcHIPertEM object.

Returns

a new NcHIPertEM.

[transfer full]


nc_hipert_em_ref ()

NcHIPertEM *
nc_hipert_em_ref (NcHIPertEM *pem);

Increases the reference count of pem .

Parameters

pem

a NcHIPertEM

 

Returns

pem .

[transfer full]


nc_hipert_em_free ()

void
nc_hipert_em_free (NcHIPertEM *pem);

Decreases the reference count of pem .

Parameters

pem

a NcHIPertEM

 

nc_hipert_em_clear ()

void
nc_hipert_em_clear (NcHIPertEM **pem);

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

Parameters

pem

a NcHIPertEM

 

nc_hipert_em_set_k ()

void
nc_hipert_em_set_k (NcHIPertEM *pem,
                    const gdouble k);

Sets the mode $k$ for the gravitational wave perturbation mode.

Parameters

pem

a NcHIPertEM

 

k

the mode $k$

 

nc_hipert_em_get_k ()

gdouble
nc_hipert_em_get_k (NcHIPertEM *pem);

Returns the mode $k$ for the gravitational wave perturbation mode.

Parameters

pem

a NcHIPertEM

 

Returns

the mode $k$.


nc_hipert_em_eval_PE_PB ()

void
nc_hipert_em_eval_PE_PB (NcHIPertEM *pem,
                         NcmModel *model,
                         const gdouble tau,
                         gdouble *PE,
                         gdouble *PB);

Evaluates the electric and magnetic field power spectra in units of Gauss squared $G_\mathrm{s}^2$.

Parameters

pem

a NcHIPertEM

 

tau

$\tau$

 

PE

the electric field power spectrum.

[out]

PB

the magnetic field power spectrum.

[out]

Types and Values

NC_TYPE_HIPERT_IEM

#define NC_TYPE_HIPERT_IEM (nc_hipert_iem_get_type ())

NC_TYPE_HIPERT_EM

#define NC_TYPE_HIPERT_EM (nc_hipert_em_get_type ())

struct NcHIPertIEMInterface

struct NcHIPertIEMInterface {
};

enum NcHIPertEMVars

Perturbation variables enumerator.

Members

NC_HIPERT_EM_RE_H

$\text{Re}(\zeta)$

 

NC_HIPERT_EM_IM_H

$\text{Im}(\zeta)$

 

NC_HIPERT_EM_RE_PH

$\text{Re}(P_\zeta)$

 

NC_HIPERT_EM_IM_PH

$\text{Im}(P_\zeta)$

 

NcHIPertEM

typedef struct _NcHIPertEM NcHIPertEM;

NcHIPertIEM

typedef struct _NcHIPertIEM NcHIPertIEM;

Property Details

The “k” property

  “k”                        double

Wave number.

Owner: NcHIPertEM

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 1