Top |
double | area | Read / Write / Construct |
NcDistance * | distance | Read / Write / Construct Only |
double | lnMf | Read / Write / Construct |
double | lnMi | Read / Write / Construct |
double | mf-lb | 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 |
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.
dist |
a NcDistance sets to “distance” |
|
psf |
a NcmPowspecFilter sets to “powerspectrum-filtered” |
|
mulf |
a NcMultiplicityFunc sets to “multiplicity” |
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.
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.
void nc_halo_mass_function_set_area (NcHaloMassFunction *mfp
,gdouble area
);
Sets the area of the survey in steradian.
void nc_halo_mass_function_set_prec (NcHaloMassFunction *mfp
,gdouble prec
);
Sets the precision of the integration.
void nc_halo_mass_function_set_area_sd (NcHaloMassFunction *mfp
,gdouble area_sd
);
Sets the area of the survey in square degree.
void nc_halo_mass_function_set_eval_limits (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnMi
,gdouble lnMf
,gdouble zi
,gdouble zf
);
Sets the limits of the integration.
void nc_halo_mass_function_prepare (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
);
Prepares the halo mass function object.
void nc_halo_mass_function_prepare_if_needed (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
);
Prepare the object if necessary.
NcmPowspecFilter *
nc_halo_mass_function_peek_psf (NcHaloMassFunction *mfp
);
Peeks the power spectrum filter.
NcMultiplicityFunc *
nc_halo_mass_function_peek_multiplicity_function
(NcHaloMassFunction *mfp
);
Peeks the multiplicity function.
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)$.
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.
gdouble nc_halo_mass_function_sigma_lnR (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnR
,gdouble z
);
This function computes the matter variance for $\ln R$ = lnR
at redshift z
.
gdouble nc_halo_mass_function_sigma_lnM (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
This function computes the matter variance for $\ln R$ = lnR
at redshift z
.
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
.
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$.
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.
gdouble nc_halo_mass_function_d2n_dzdlnM (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
Computes the halo mass function $d^2 N / d\ln M d z$.
gdouble nc_halo_mass_function_dn_dz (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnMl
,gdouble lnMu
,gdouble z
,gboolean spline
);
Computes the number density of halos in the mass range $[M_l, M_u]$ at redshift $z$.
gdouble nc_halo_mass_function_n (NcHaloMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnMl
,gdouble lnMu
,gdouble zl
,gdouble zu
,NcHaloMassFunctionSplineOptimize spline
);
FIXME
“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
“distance”
property“distance” NcDistance *
This property keeps the distance object.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct Only
“lnMf”
property “lnMf” double
This property sets the maximum halo mass (logarithm base e) $\ln M_f$.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: [25.3284,39.1439]
Default value: 36.8414
“lnMi”
property “lnMi” double
This property sets the minimum halo mass (logarithm base e).
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: [25.3284,39.1439]
Default value: 29.9336
“mf-lb”
property “mf-lb” double
Mass function lower bound.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 1e-30
“multiplicity”
property“multiplicity” NcMultiplicityFunc *
This property keeps the multiplicity function object.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct Only
“powerspectrum-filtered”
property“powerspectrum-filtered” NcmPowspecFilter *
This property keeps the filtered power spectrum.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct Only
“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
“zf”
property “zf” double
This property sets the final redshift $z_f$.
Owner: NcHaloMassFunction
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 1.4