General Perturbation Object

General Perturbation Object — Perturbation object for homogeneous and isotropic cosmologies

Properties

gdouble abstol Read / Write / Construct
gdouble alphai Read / Write
gdouble k Read / Write / Construct
gdouble reltol Read / Write / Construct

Object Hierarchy

    GObject
    ╰── NcHIPert
        ├── NcHIPertAdiab
        ├── NcHIPertTwoFluids
        ╰── NcHIPertWKB

Description

FIXME

Functions

nc_hipert_set_mode_k ()

void
nc_hipert_set_mode_k (NcHIPert *pert,
                      gdouble k);

Sets the value of the mode to be computed.

Parameters

pert

a NcHIPert.

 

k

the mode value.

 

nc_hipert_set_reltol ()

void
nc_hipert_set_reltol (NcHIPert *pert,
                      gdouble reltol);

Sets the value of the relative tolerance.

Parameters

pert

a NcHIPert.

 

reltol

the relative tolarance.

 

nc_hipert_set_abstol ()

void
nc_hipert_set_abstol (NcHIPert *pert,
                      gdouble abstol);

Sets the value of the absolute tolerance.

Parameters

pert

a NcHIPert.

 

abstol

the absolute tolarance.

 

nc_hipert_set_stiff_solver ()

void
nc_hipert_set_stiff_solver (NcHIPert *pert,
                            gboolean stiff);

Sets the ode algorithm to use.

Parameters

pert

a NcHIPert.

 

stiff

whenever to enable or disable a stiff solver.

 

nc_hipert_get_reltol ()

gdouble
nc_hipert_get_reltol (NcHIPert *pert);

Gets the value of the relative tolerance.

Parameters

pert

a NcHIPert.

 

Returns

reltol


nc_hipert_get_abstol ()

gdouble
nc_hipert_get_abstol (NcHIPert *pert);

Gets the value of the relative tolerance.

Parameters

pert

a NcHIPert.

 

Types and Values

Property Details

The “abstol” property

  “abstol”                   gdouble

Absolute tolerance.

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0


The “alphai” property

  “alphai”                   gdouble

Initial time.

Flags: Read / Write

Default value: 0


The “k” property

  “k”                        gdouble

Mode k.

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 1


The “reltol” property

  “reltol”                   gdouble

Relative tolerance.

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 1e-07