| Top |
Functions
Properties
| double | area | Read / Write / Construct |
| NcDistance * | distance | Read / Write / Construct Only |
| double | lnMf | Read / Write / Construct |
| double | lnMi | Read / Write / Construct |
| NcMultiplicityFunc * | multiplicity | Read / Write / Construct Only |
| NcmPowspecFilter * | powerspectrum-filtered | Read / Write / Construct Only |
| double | prec | Read / Write / Construct |
| double | zf | Read / Write / Construct |
| double | zi | Read / Write / Construct |
Functions
nc_halo_mass_function_new ()
NcHaloMassFunction * nc_halo_mass_function_new (NcDistance *dist,NcmPowspecFilter *psf,NcMultiplicityFunc *mulf);
This function allocates memory for a new NcHaloMassFunction object and sets its properties to the values from the input arguments.
Parameters
dist |
a NcDistance sets to “distance” |
|
psf |
a NcmPowspecFilter sets to “powerspectrum-filtered” |
|
mulf |
a NcMultiplicityFunc sets to “multiplicity” |
nc_halo_mass_function_free ()
void
nc_halo_mass_function_free (NcHaloMassFunction *mfp);
Atomically decrements the reference count of mfp
by one. If the reference count drops to 0,
all memory allocated by mfp
is released.
nc_halo_mass_function_clear ()
void
nc_halo_mass_function_clear (NcHaloMassFunction **mfp);
Atomically decrements the reference count of mfp
by one. If the reference count drops to 0,
all memory allocated by mfp
is released. Set pointer to NULL.
nc_halo_mass_function_set_area ()
void nc_halo_mass_function_set_area (NcHaloMassFunction *mfp,gdouble area);
FIXME
nc_halo_mass_function_set_prec ()
void nc_halo_mass_function_set_prec (NcHaloMassFunction *mfp,gdouble prec);
FIXME
nc_halo_mass_function_set_area_sd ()
void nc_halo_mass_function_set_area_sd (NcHaloMassFunction *mfp,gdouble area_sd);
FIXME
nc_halo_mass_function_set_eval_limits ()
void nc_halo_mass_function_set_eval_limits (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnMi,gdouble lnMf,gdouble zi,gdouble zf);
FIXME
nc_halo_mass_function_prepare ()
void nc_halo_mass_function_prepare (NcHaloMassFunction *mfp,NcHICosmo *cosmo);
FIXME
nc_halo_mass_function_prepare_if_needed ()
void nc_halo_mass_function_prepare_if_needed (NcHaloMassFunction *mfp,NcHICosmo *cosmo);
FIXME
nc_halo_mass_function_peek_psf ()
NcmPowspecFilter *
nc_halo_mass_function_peek_psf (NcHaloMassFunction *mfp);
FIXME
nc_halo_mass_function_lnM_to_lnR ()
gdouble nc_halo_mass_function_lnM_to_lnR (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnM);
This function computes the ln-radius of related to the ln-mass $\ln(M / M_\odot)$.
nc_halo_mass_function_lnR_to_lnM ()
gdouble nc_halo_mass_function_lnR_to_lnM (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnR);
This function computes the ln-mass of the mass enclosed in the filter volume.
nc_halo_mass_function_dn_dlnR_sigma ()
void nc_halo_mass_function_dn_dlnR_sigma (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnR,gdouble z,gdouble *sigma_ptr,gdouble *dn_dlnR_ptr);
This function computes the comoving number density of dark matter halos per redshift z
and
volume with ln-radius lnR
.
nc_halo_mass_function_dn_dlnM_sigma ()
void nc_halo_mass_function_dn_dlnM_sigma (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnM,gdouble z,gdouble *sigma_ptr,gdouble *dn_dlnM_ptr);
This function computes the comoving number density of dark matter halos at redshift z
and
mass M.
nc_halo_mass_function_dn_dlnR ()
gdouble nc_halo_mass_function_dn_dlnR (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnR,gdouble z);
This function computes the comoving number density of dark matter halos per redshift z
and
volume with ln-radius lnR
.
nc_halo_mass_function_dn_dlnM ()
gdouble nc_halo_mass_function_dn_dlnM (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnM,gdouble z);
This function computes the comoving number density of dark matter halos at redshift z
and
mass M.
nc_halo_mass_function_dv_dzdomega ()
gdouble nc_halo_mass_function_dv_dzdomega (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble z);
This function computes the comoving volume (flat universe) element per unit solid angle $d\Omega$
given z
, namely, $$\frac{\mathrm{d}^2V}{\mathrm{d}z\mathrm{d}\Omega} = \frac{c}{H(z)} D_c^2(z),$$
where $H(z)$ is the Hubble function and $D_c$ is the comoving distance.
nc_halo_mass_function_d2n_dzdlnM ()
gdouble nc_halo_mass_function_d2n_dzdlnM (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnM,gdouble z);
FIXME
nc_halo_mass_function_dn_dz ()
gdouble nc_halo_mass_function_dn_dz (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnMl,gdouble lnMu,gdouble z,gboolean spline);
FIXME
nc_halo_mass_function_n ()
gdouble nc_halo_mass_function_n (NcHaloMassFunction *mfp,NcHICosmo *cosmo,gdouble lnMl,gdouble lnMu,gdouble zl,gdouble zu,NcHaloMassFunctionSplineOptimize spline);
FIXME
Property Details
The “area” property
“area” double
This property sets the angular area in steradian.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: [0,12.5664]
Default value: 0.0609235
The “distance” property
“distance” NcDistance *
This property keeps the distance object.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct Only
The “lnMf” property
“lnMf” double
This property sets the maximum halo mass (logarithm base e).
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: [27.5,36.84]
Default value: 36
The “lnMi” property
“lnMi” double
This property sets the minimum halo mass (logarithm base e).
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: [27.5,36.84]
Default value: 32
The “multiplicity” property
“multiplicity” NcMultiplicityFunc *
This property keeps the multiplicity function object.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct Only
The “powerspectrum-filtered” property
“powerspectrum-filtered” NcmPowspecFilter *
This property keeps the filtered powerspectrum.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct Only
The “prec” property
“prec” double
This property sets the precision.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: [2.22045e-16,1]
Default value: 1e-06
The “zf” property
“zf” double
This property sets the final redshift.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: [0,2]
Default value: 1.4