Top | ![]() |
![]() |
![]() |
![]() |
Functions
NcPowspecML * | nc_powspec_ml_new_from_name () |
NcPowspecML * | nc_powspec_ml_ref () |
void | nc_powspec_ml_free () |
void | nc_powspec_ml_clear () |
Object Hierarchy
GObject ╰── NcmPowspec ╰── NcPowspecML ├── NcPowspecMLCBE ├── NcPowspecMLFixSpline ╰── NcPowspecMLTransfer
Description
This module comprises the set of functions to compute the linear matter power spectrum and derived quantities.
Following the description presented in NcmPowspec, in this case we have that the field $\delta(\vec{x})$ represents the matter density fluctuations, i.e., $$\delta(\vec{x}) = \frac{\rho(\vec{x}) - \bar{\rho}}{\bar{\rho}},$$ where $\rho$ is the cold matter density field and $\bar{\rho}$ its mean.
Functions
nc_powspec_ml_new_from_name ()
NcPowspecML *
nc_powspec_ml_new_from_name (const gchar *ps_ml_name
);
This function returns a new NcPowspecML whose type is defined by ps_ml_name
.
nc_powspec_ml_ref ()
NcPowspecML *
nc_powspec_ml_ref (NcPowspecML *ps_ml
);
Increases the reference count of ps_ml
by one atomically.
nc_powspec_ml_free ()
void
nc_powspec_ml_free (NcPowspecML *ps_ml
);
Atomically decrements the reference count of ps_ml
by one.
If the reference count drops to 0, all memory allocated by ps_ml
is released.
nc_powspec_ml_clear ()
void
nc_powspec_ml_clear (NcPowspecML **ps_ml
);
If ps_ml
is different from NULL,
atomically decrements the reference count of ps_ml
by one.
If the reference count drops to 0,
all memory allocated by ps_ml
is released and ps_ml
is set to NULL.
Property Details
The “kmax”
property
“kmax” double
The maximum mode (wave-number) value to compute $P(k,z)$.
Owner: NcPowspecML
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 1000
The “kmin”
property
“kmin” double
The minimum mode (wave-number) value to compute $P(k,z)$.
Owner: NcPowspecML
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 1e-06
The “zf”
property
“zf” double
The final time (redshift) to compute $P(k,z)$.
Owner: NcPowspecML
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 5