NcHICosmoDEWSpline

NcHICosmoDEWSpline — Dark Energy -- spline equation of state

Functions

Properties

NcmVector * w Read / Write
GVariant * w-fit Read / Write
guint w-length Read / Write / Construct Only
double z1 Read / Write / Construct Only
double zf Read / Write / Construct Only

Types and Values

Object Hierarchy

    GEnum
    ╰── NcHICosmoDEWSplineVParams
    GObject
    ╰── NcmModel
        ╰── NcHICosmo
            ╰── NcHICosmoDE
                ╰── NcHICosmoDEWSpline

Description

Dark Energy equation of state: $w(\alpha)$ approximated by a cubic spline.

Functions

nc_hicosmo_de_wspline_new ()

NcHICosmoDEWSpline *
nc_hicosmo_de_wspline_new (gsize nknots,
                           const gdouble z_f);

This function instantiates a new object of type NcHICosmoDEWSpline.

Parameters

nknots

number of knots in the $w(z)$ spline

 

z_f

redshift $z_f$ of the last knot.

 

Returns

A new NcHICosmoDEWSpline


nc_hicosmo_de_wspline_get_alpha ()

NcmVector *
nc_hicosmo_de_wspline_get_alpha (NcHICosmoDEWSpline *wspline);

Gets vector with the current knots in $\alpha$.

Parameters

wspline

a NcHICosmoDEWSpline

 

Returns

A new NcmVector.

[transfer none]

Types and Values

enum NcHICosmoDEWSplineVParams

Members

NC_HICOSMO_DE_WSPLINE_W

FIXME

 

NC_HICOSMO_DE_WSPLINE_DEFAULT_W0

#define NC_HICOSMO_DE_WSPLINE_DEFAULT_W0 (-1.0)

NC_HICOSMO_DE_WSPLINE_N

#define NC_HICOSMO_DE_WSPLINE_N (NC_HICOSMO_DE_WSPLINE_W + 1 - NC_HICOSMO_DE_BASE_N)

Property Details

The “w” property

  “w”                        NcmVector *

w.

Owner: NcHICosmoDEWSpline

Flags: Read / Write


The “w-fit” property

  “w-fit”                    GVariant *

w:fit.

Owner: NcHICosmoDEWSpline

Flags: Read / Write

Allowed values: GVariant<ab>

Default value: NULL


The “w-length” property

  “w-length”                 guint

w:length.

Owner: NcHICosmoDEWSpline

Flags: Read / Write / Construct Only

Default value: 6


The “z1” property

  “z1”                       double

second redshift knot.

Owner: NcHICosmoDEWSpline

Flags: Read / Write / Construct Only

Allowed values: [0.001,0.5]

Default value: 0.01


The “zf” property

  “zf”                       double

final redshift.

Owner: NcHICosmoDEWSpline

Flags: Read / Write / Construct Only

Allowed values: [1,1e+10]

Default value: 2