NcHIPertGW

NcHIPertGW — Perturbation object for gravitational wave mode.

Functions

Properties

double k Read / Write / Construct

Types and Values

Object Hierarchy

    GEnum
    ╰── NcHIPertGWVars
    GInterface
    ╰── NcHIPertIGW
    GObject
    ╰── NcmCSQ1D
        ╰── NcHIPertGW

Prerequisites

NcHIPertIGW requires GObject.

Description

This object provides the computation of the gravitational wave mode for the cosmological perturbations. It solves the equation of motion for the gauge invariant variable $h$.

Functions

nc_hipert_igw_eval_xi ()

gdouble
nc_hipert_igw_eval_xi (NcHIPertIGW *igw,
                       const gdouble tau,
                       const gdouble k);

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

Parameters

igw

a NcHIPertIGW

 

tau

$\tau$

 

k

$k$

 

Returns

$\xi$.


nc_hipert_igw_eval_F1 ()

gdouble
nc_hipert_igw_eval_F1 (NcHIPertIGW *igw,
                       const gdouble tau,
                       const gdouble k);

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

Parameters

igw

a NcHIPertIGW

 

tau

$\tau$

 

k

$k$

 

Returns

$F_1$.


nc_hipert_igw_eval_nu ()

gdouble
nc_hipert_igw_eval_nu (NcHIPertIGW *igw,
                       const gdouble tau,
                       const gdouble k);

Computes the value of $\nu$.

Parameters

igw

a NcHIPertIGW

 

tau

$\tau$

 

k

$k$

 

Returns

$\nu$.


nc_hipert_igw_eval_m ()

gdouble
nc_hipert_igw_eval_m (NcHIPertIGW *igw,
                      const gdouble tau,
                      const gdouble k);

Computes the value of $m$.

Parameters

igw

a NcHIPertIGW

 

tau

$\tau$

 

k

$k$

 

Returns

$m$.


nc_hipert_igw_eval_unit ()

gdouble
nc_hipert_igw_eval_unit (NcHIPertIGW *igw);

FIXME

Parameters

igw

a NcHIPertIGW

 

Returns

FIXME.


nc_hipert_igw_eval_x ()

gdouble
nc_hipert_igw_eval_x (NcHIPertIGW *igw,
                      const gdouble tau);

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

Parameters

igw

a NcHIPertIGW

 

tau

$\tau$

 

nc_hipert_gw_new ()

NcHIPertGW *
nc_hipert_gw_new (void);

Creates a new NcHIPertGW object.

Returns

a new NcHIPertGW.

[transfer full]


nc_hipert_gw_ref ()

NcHIPertGW *
nc_hipert_gw_ref (NcHIPertGW *pgw);

Increases the reference count of pgw .

Parameters

pgw

a NcHIPertGW

 

Returns

pgw .

[transfer full]


nc_hipert_gw_free ()

void
nc_hipert_gw_free (NcHIPertGW *pgw);

Decreases the reference count of pgw .

Parameters

pgw

a NcHIPertGW

 

nc_hipert_gw_clear ()

void
nc_hipert_gw_clear (NcHIPertGW **pgw);

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

Parameters

pgw

a NcHIPertGW

 

nc_hipert_gw_set_k ()

void
nc_hipert_gw_set_k (NcHIPertGW *pgw,
                    const gdouble k);

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

Parameters

pgw

a NcHIPertGW

 

k

the mode $k$

 

nc_hipert_gw_get_k ()

gdouble
nc_hipert_gw_get_k (NcHIPertGW *pgw);

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

Parameters

pgw

a NcHIPertGW

 

Returns

the mode $k$.

Types and Values

NC_TYPE_HIPERT_IGW

#define NC_TYPE_HIPERT_IGW (nc_hipert_igw_get_type ())

NC_TYPE_HIPERT_GW

#define NC_TYPE_HIPERT_GW (nc_hipert_gw_get_type ())

struct NcHIPertIGWInterface

struct NcHIPertIGWInterface {
};

enum NcHIPertGWVars

Perturbation variables enumerator.

Members

NC_HIPERT_GW_RE_H

$\text{Re}(\zeta)$

 

NC_HIPERT_GW_IM_H

$\text{Im}(\zeta)$

 

NC_HIPERT_GW_RE_PH

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

 

NC_HIPERT_GW_IM_PH

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

 

NcHIPertGW

typedef struct _NcHIPertGW NcHIPertGW;

NcHIPertIGW

typedef struct _NcHIPertIGW NcHIPertIGW;

Property Details

The “k” property

  “k”                        double

Wave number.

Owner: NcHIPertGW

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 1