![]() |
![]() |
![]() |
NumCosmo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct NcMassFunction; struct NcMassFunctionClass; enum NcMassFunctionSplineOptimize; void nc_mass_function_alpha_eff (NcMatterVar *vp
,NcHICosmo *model
,gdouble lnM
,gdouble *a_eff_ptr
); NcMassFunction * nc_mass_function_copy (NcMassFunction *mfp
); gdouble nc_mass_function_d2n_dzdlnm (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnM
,gdouble z
); gdouble nc_mass_function_dn_M1_to_M2_dv (NcMassFunction *mfp
,NcHICosmo *model
,gdouble M1
,gdouble M2
,gdouble z
); gdouble nc_mass_function_dn_M_to_inf_dv (NcMassFunction *mfp
,NcHICosmo *model
,gdouble M
,gdouble z
); gdouble nc_mass_function_dn_dlnm (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnM
,gdouble z
); gdouble nc_mass_function_dn_dz (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnMl
,gdouble lnMu
,gdouble z
,gboolean spline
); gdouble nc_mass_function_dv_dzdomega (NcMassFunction *mfp
,NcHICosmo *model
,gdouble z
); void nc_mass_function_free (NcMassFunction *mfp
); gdouble nc_mass_function_n (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnMl
,gdouble lnMu
,gdouble zl
,gdouble zu
,NcMassFunctionSplineOptimize spline
); NcMassFunction * nc_mass_function_new (NcDistance *dist
,NcMatterVar *vp
,NcGrowthFunc *gf
,NcMultiplicityFunc *mulf
); void nc_mass_function_prepare (NcMassFunction *mfp
,NcHICosmo *model
); void nc_mass_function_prepare_if_needed (NcMassFunction *mfp
,NcHICosmo *model
); void nc_mass_function_set_eval_limits (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnMi
,gdouble lnMf
,gdouble zi
,gdouble zf
); void nc_mass_function_sigma (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnM
,gdouble z
,gdouble *dn_dlnM_ptr
,gdouble *sigma_ptr
);
"distance" NcDistance* : Read / Write / Construct Only "growth" NcGrowthFunc* : Read / Write / Construct Only "multiplicity" NcMultiplicityFunc* : Read / Write / Construct Only "variance" NcMatterVar* : Read / Write / Construct Only
typedef enum { NC_MASS_FUNCTION_SPLINE_NONE = 0, NC_MASS_FUNCTION_SPLINE_LNM, NC_MASS_FUNCTION_SPLINE_Z, } NcMassFunctionSplineOptimize;
FIXME
void nc_mass_function_alpha_eff (NcMatterVar *vp
,NcHICosmo *model
,gdouble lnM
,gdouble *a_eff_ptr
);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
logarithm base e of mass. |
|
FIXME |
NcMassFunction * nc_mass_function_copy (NcMassFunction *mfp
);
This function duplicates the NcMassFunction object setting the same values of the original propertities.
|
a NcMassFunction. |
Returns : |
A new NcMassFunction. [transfer full] |
gdouble nc_mass_function_d2n_dzdlnm (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnM
,gdouble z
);
FIXME
|
a NcMassFunction. |
|
a NcHICosmo. |
|
logarithm base e of mass. |
|
redshift. |
Returns : |
FIXME |
gdouble nc_mass_function_dn_M1_to_M2_dv (NcMassFunction *mfp
,NcHICosmo *model
,gdouble M1
,gdouble M2
,gdouble z
);
gdouble nc_mass_function_dn_M_to_inf_dv (NcMassFunction *mfp
,NcHICosmo *model
,gdouble M
,gdouble z
);
gdouble nc_mass_function_dn_dlnm (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnM
,gdouble z
);
This function computes the comoving number density of dark matter halos at redshift z and mass M.
|
a NcMassFunction. |
|
a NcHICosmo. |
|
logarithm base e of mass. |
|
redshift. |
Returns : |
dn/dlnM. |
gdouble nc_mass_function_dn_dz (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnMl
,gdouble lnMu
,gdouble z
,gboolean spline
);
FIXME
|
a NcMassFunction. |
|
a NcHICosmo. |
|
logarithm base e of mass, lower threshold. |
|
logarithm base e of mass, upper threshold. |
|
redshift. |
|
Whenever to create an intermediary spline of the mass integration. |
Returns : |
FIXME |
gdouble nc_mass_function_dv_dzdomega (NcMassFunction *mfp
,NcHICosmo *model
,gdouble z
);
FIXME
|
a NcMassFunction. |
|
a NcHICosmo. |
|
redshift. |
Returns : |
FIXME |
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.
|
a NcMassFunction. |
gdouble nc_mass_function_n (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnMl
,gdouble lnMu
,gdouble zl
,gdouble zu
,NcMassFunctionSplineOptimize spline
);
FIXME
|
a NcMassFunction. |
|
a NcHICosmo. |
|
logarithm base e of mass, lower threshold. |
|
logarithm base e of mass, upper threshold. |
|
minimum redshift. |
|
maximum redshift. |
|
Whenever to create an intermediary spline of the integration. |
Returns : |
FIXME |
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.
|
a NcDistance sets to "distance". |
|
a NcMatterVar sets to "variance". |
|
a NcGrowthFunc sets to "growth". |
|
a NcMultiplicityFunc sets to "multiplicity". |
Returns : |
A new NcMassFunction. |
void nc_mass_function_prepare (NcMassFunction *mfp
,NcHICosmo *model
);
FIXME
|
a NcMassFunction. |
|
a NcHICosmo. |
void nc_mass_function_prepare_if_needed (NcMassFunction *mfp
,NcHICosmo *model
);
FIXME
|
a NcMassFunction. |
|
a NcHICosmo. |
void nc_mass_function_set_eval_limits (NcMassFunction *mfp
,NcHICosmo *model
,gdouble lnMi
,gdouble lnMf
,gdouble zi
,gdouble zf
);
FIXME
|
a NcMassFunction. |
|
a NcHICosmo. |
|
minimum logarithm base e of mass. |
|
maximum logarithm base e of mass. |
|
minimum redshift. |
|
maximum redshift. |
void nc_mass_function_sigma (NcMassFunction *mfp
,NcHICosmo *model
,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.
|
a NcMassFunction. |
|
a NcHICosmo. |
|
logarithm base e of mass. |
|
redshift. |
|
pointer to comoving number density of halos. |
|
pointer to the standard deviation of the density contrast. |
"distance"
property"distance" NcDistance* : Read / Write / Construct Only
This property keeps the distance object.
"growth"
property"growth" NcGrowthFunc* : Read / Write / Construct Only
This property keeps the growth function object.
"multiplicity"
property"multiplicity" NcMultiplicityFunc* : Read / Write / Construct Only
This property keeps the multiplicity function object.
"variance"
property"variance" NcMatterVar* : Read / Write / Construct Only
This property keeps the matter variance object.