Top | ![]() |
![]() |
![]() |
![]() |
Functions
Properties
gdouble | area | Read / Write / Construct |
NcDistance * | distance | Read / Write / Construct Only |
NcGrowthFunc * | growth | Read / Write / Construct Only |
NcMultiplicityFunc * | multiplicity | Read / Write / Construct Only |
gdouble | prec | Read / Write / Construct |
NcMatterVar * | variance | Read / Write / Construct Only |
Functions
nc_mass_function_new ()
NcMassFunction * nc_mass_function_new (NcDistance *dist
,NcMatterVar *vp
,NcGrowthFunc *gf
,NcMultiplicityFunc *mulf
);
This function allocates memory for a new NcMassFunction object and sets its properties to the values from the input arguments.
Parameters
dist |
a NcDistance sets to “distance” |
|
vp |
a NcMatterVar sets to “variance” |
|
gf |
a NcGrowthFunc sets to “growth” |
|
mulf |
a NcMultiplicityFunc sets to “multiplicity” |
nc_mass_function_copy ()
NcMassFunction *
nc_mass_function_copy (NcMassFunction *mfp
);
This function duplicates the NcMassFunction object setting the same values of the original propertities.
nc_mass_function_free ()
void
nc_mass_function_free (NcMassFunction *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_mass_function_clear ()
void
nc_mass_function_clear (NcMassFunction **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_mass_function_set_area ()
void nc_mass_function_set_area (NcMassFunction *mfp
,gdouble area
);
FIXME
nc_mass_function_set_prec ()
void nc_mass_function_set_prec (NcMassFunction *mfp
,gdouble prec
);
FIXME
nc_mass_function_set_area_sd ()
void nc_mass_function_set_area_sd (NcMassFunction *mfp
,gdouble area_sd
);
FIXME
nc_mass_function_set_eval_limits ()
void nc_mass_function_set_eval_limits (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnMi
,gdouble lnMf
,gdouble zi
,gdouble zf
);
FIXME
nc_mass_function_prepare ()
void nc_mass_function_prepare (NcMassFunction *mfp
,NcHIReion *reion
,NcHICosmo *cosmo
);
FIXME
nc_mass_function_prepare_if_needed ()
void nc_mass_function_prepare_if_needed (NcMassFunction *mfp
,NcHIReion *reion
,NcHICosmo *cosmo
);
FIXME
nc_mass_function_dn_dlnm ()
gdouble nc_mass_function_dn_dlnm (NcMassFunction *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_mass_function_dv_dzdomega ()
gdouble nc_mass_function_dv_dzdomega (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble z
);
This function computes the comoving volume (flat universe) element per unit solid angle $d\Omega$
given z
, namely, $$\frac{d^2V}{dzd\Omega} = \frac{c}{H(z)} D_c^2(z),$$
where $H(z)$ is the Hubble function and $D_c$ is the comoving distance.
nc_mass_function_d2n_dzdlnm ()
gdouble nc_mass_function_d2n_dzdlnm (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
FIXME
nc_mass_function_dn_dz ()
gdouble nc_mass_function_dn_dz (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnMl
,gdouble lnMu
,gdouble z
,gboolean spline
);
FIXME
nc_mass_function_n ()
gdouble nc_mass_function_n (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnMl
,gdouble lnMu
,gdouble zl
,gdouble zu
,NcMassFunctionSplineOptimize spline
);
FIXME
nc_mass_function_dn_M_to_inf_dv ()
gdouble nc_mass_function_dn_M_to_inf_dv (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble M
,gdouble z
);
nc_mass_function_dn_M1_to_M2_dv ()
gdouble nc_mass_function_dn_M1_to_M2_dv (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble M1
,gdouble M2
,gdouble z
);
nc_mass_function_sigma ()
void nc_mass_function_sigma (NcMassFunction *mfp
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
,gdouble *dn_dlnM_ptr
,gdouble *sigma_ptr
);
This function computes the standard deviation of density contrast of the matter fluctuations and
the the comoving number density of dark matter halos at redshift z
and mass M.
These values are stored in sigma_ptr
and dn_dlnM_ptr
, respectively.
nc_mass_function_alpha_eff ()
void nc_mass_function_alpha_eff (NcMatterVar *vp
,NcHICosmo *cosmo
,gdouble lnM
,gdouble *a_eff_ptr
);
FIXME
Property Details
The “area”
property
“area” gdouble
This property sets the angular area in steradian.
Flags: Read / Write / Construct
Allowed values: [0,12.5664]
Default value: 0.0609235
The “distance”
property
“distance” NcDistance *
This property keeps the distance object.
Flags: Read / Write / Construct Only
The “growth”
property
“growth” NcGrowthFunc *
This property keeps the growth function object.
Flags: Read / Write / Construct Only
The “multiplicity”
property
“multiplicity” NcMultiplicityFunc *
This property keeps the multiplicity function object.
Flags: Read / Write / Construct Only
The “prec”
property
“prec” gdouble
This property sets the precision.
Flags: Read / Write / Construct
Allowed values: [1e-15,1]
Default value: 1e-06
The “variance”
property
“variance” NcMatterVar *
This property keeps the matter variance object.
Flags: Read / Write / Construct Only