NcHIPrimTwoFluids

NcHIPrimTwoFluids — Two Fluids implementation for primordial spectra.

Functions

Properties

double T-SA-ratio Read / Write
gboolean T-SA-ratio-fit Read / Write
double ln10e10ASA Read / Write
gboolean ln10e10ASA-fit Read / Write
NcmSpline2d * lnk-lnw-spline Read / Write
double lnk0 Read / Write
gboolean lnk0-fit Read / Write
double lnw Read / Write
gboolean lnw-fit Read / Write
double n-T Read / Write
gboolean n-T-fit Read / Write
gboolean use-default-calib Read / Write / Construct

Types and Values

Object Hierarchy

    GEnum
    ╰── NcHIPrimTwoFluidsSParams
    GObject
    ╰── NcmModel
        ╰── NcHIPrim
            ╰── NcHIPrimTwoFluids

Description

Primordial adiabatic scalar power spectrum obtained from a two fluids model.

Functions

nc_hiprim_two_fluids_new ()

NcHIPrimTwoFluids *
nc_hiprim_two_fluids_new (void);

This function instantiates a new object of type NcHIPrimTwoFluids.

[constructor]

Returns

A new NcHIPrimTwoFluids.

[transfer full]


nc_hiprim_two_fluids_ref ()

NcHIPrimTwoFluids *
nc_hiprim_two_fluids_ref (NcHIPrimTwoFluids *two_fluids);

Increases the reference count of the object.

[skip]

Parameters

two_fluids

a NcHIPrimTwoFluids

 

Returns

the same object.

[transfer full]


nc_hiprim_two_fluids_free ()

void
nc_hiprim_two_fluids_free (NcHIPrimTwoFluids *two_fluids);

Decreases the reference count of the object. When its reference count drops to 0, the object is finalized.

[skip]

Parameters

two_fluids

a NcHIPrimTwoFluids

 

nc_hiprim_two_fluids_clear ()

void
nc_hiprim_two_fluids_clear (NcHIPrimTwoFluids **two_fluids);

If *two_fluids is not NULL, the reference count of the object is decreased and the pointer is set to NULL.

[skip]

Parameters

two_fluids

a NcHIPrimTwoFluids

 

nc_hiprim_two_fluids_set_use_default_calib ()

void
nc_hiprim_two_fluids_set_use_default_calib
                               (NcHIPrimTwoFluids *two_fluids,
                                gboolean use_default_calib);

Set the use_default_calib flag.

Parameters

two_fluids

a NcHIPrimTwoFluids

 

use_default_calib

a gboolean

 

nc_hiprim_two_fluids_get_use_default_calib ()

gboolean
nc_hiprim_two_fluids_get_use_default_calib
                               (NcHIPrimTwoFluids *two_fluids);

Get the use_default_calib flag.

Parameters

two_fluids

a NcHIPrimTwoFluids

 

Returns

a gboolean


nc_hiprim_two_fluids_set_lnk_lnw_spline ()

void
nc_hiprim_two_fluids_set_lnk_lnw_spline
                               (NcHIPrimTwoFluids *two_fluids,
                                NcmSpline2d *lnSA_powspec_lnk_lnw);

Set the spline for the primordial adiabatic scalar power spectrum as a function of ln(k) and ln(w).

Parameters

two_fluids

a NcHIPrimTwoFluids

 

lnSA_powspec_lnk_lnw

a NcmSpline2d

 

nc_hiprim_two_fluids_peek_lnk_lnw_spline ()

NcmSpline2d *
nc_hiprim_two_fluids_peek_lnk_lnw_spline
                               (NcHIPrimTwoFluids *two_fluids);

Get the spline for the primordial adiabatic scalar power spectrum as a function of $\ln(k)$ and $\ln(w)$.

Parameters

two_fluids

a NcHIPrimTwoFluids

 

Returns

the spline for the primordial power spectrum.

[transfer none]

Types and Values

enum NcHIPrimTwoFluidsSParams

Parameters for the two fluids primordial power spectrum.

Members

NC_HIPRIM_TWO_FLUIDS_LN10E10ASA

Amplitude of the adiabatic scalar mode $\ln(10^{10}\mathcal{A}_\mathrm{s})$

 

NC_HIPRIM_TWO_FLUIDS_T_SA_RATIO

Tensor-to-scalar ratio $r$

 

NC_HIPRIM_TWO_FLUIDS_LNK0

Logarithm of the mode $k_0$ in $\mathrm{Mpc}^{-1}$.

 

NC_HIPRIM_TWO_FLUIDS_LNW

Logarithm of the equation of state parameter $w$.

 

NC_HIPRIM_TWO_FLUIDS_N_T

Spectral index of the tensor power spectrum.

 

NC_HIPRIM_TWO_FLUIDS_DEFAULT_LN10E10ASA

#define NC_HIPRIM_TWO_FLUIDS_DEFAULT_LN10E10ASA (3.179)

NC_HIPRIM_TWO_FLUIDS_DEFAULT_T_SA_RATIO

#define NC_HIPRIM_TWO_FLUIDS_DEFAULT_T_SA_RATIO (0.2)

NC_HIPRIM_TWO_FLUIDS_DEFAULT_LNK0

#define NC_HIPRIM_TWO_FLUIDS_DEFAULT_LNK0 (-2.8 * M_LN10)

NC_HIPRIM_TWO_FLUIDS_DEFAULT_LNW

#define NC_HIPRIM_TWO_FLUIDS_DEFAULT_LNW (-4.0 * M_LN10)

NC_HIPRIM_TWO_FLUIDS_DEFAULT_N_T

#define NC_HIPRIM_TWO_FLUIDS_DEFAULT_N_T (0.0)

Property Details

The “T-SA-ratio” property

  “T-SA-ratio”               double

A_T/A_{\mathrm{SA}}.

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: 0.2


The “T-SA-ratio-fit” property

  “T-SA-ratio-fit”           gboolean

A_T/A_{\mathrm{SA}}:fit.

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: FALSE


The “ln10e10ASA” property

  “ln10e10ASA”               double

\log(10^{10}A_{\mathrm{SA}}).

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: 3.179


The “ln10e10ASA-fit” property

  “ln10e10ASA-fit”           gboolean

\log(10^{10}A_{\mathrm{SA}}):fit.

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: FALSE


The “lnk-lnw-spline” property

  “lnk-lnw-spline”           NcmSpline2d *

Spline for the primordial adiabatic scalar power spectrum as a function of ln(k) and ln(w).

Owner: NcHIPrimTwoFluids

Flags: Read / Write


The “lnk0” property

  “lnk0”                     double

\ln(k_0).

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: -6.44724


The “lnk0-fit” property

  “lnk0-fit”                 gboolean

\ln(k_0):fit.

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: FALSE


The “lnw” property

  “lnw”                      double

\ln(w).

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: -9.21034


The “lnw-fit” property

  “lnw-fit”                  gboolean

\ln(w):fit.

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: FALSE


The “n-T” property

  “n-T”                      double

n_{\mathrm{T}}.

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: 0


The “n-T-fit” property

  “n-T-fit”                  gboolean

n_{\mathrm{T}}:fit.

Owner: NcHIPrimTwoFluids

Flags: Read / Write

Default value: FALSE


The “use-default-calib” property

  “use-default-calib”        gboolean

Use default calibration.

Owner: NcHIPrimTwoFluids

Flags: Read / Write / Construct

Default value: FALSE