![]() |
![]() |
![]() |
NumCosmo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
struct NcHaloBiasFunc; struct NcHaloBiasFuncClass; void nc_halo_bias_func_clear (NcHaloBiasFunc **mbiasf
); NcHaloBiasFunc * nc_halo_bias_func_copy (NcHaloBiasFunc *mbiasf
); void nc_halo_bias_func_free (NcHaloBiasFunc *mbiasf
); gdouble nc_halo_bias_func_integrand (NcHaloBiasFunc *mbiasf
,NcHICosmo *model
,gdouble lnM
,gdouble z
); NcHaloBiasFunc * nc_halo_bias_func_new (NcMassFunction *mfp
,NcHaloBiasType *biasf
);
Properties
"bias-type" NcHaloBiasType* : Read / Write / Construct Only "mass-function" NcMassFunction* : Read / Write / Construct Only
Details
nc_halo_bias_func_clear ()
void nc_halo_bias_func_clear (NcHaloBiasFunc **mbiasf
);
Atomically decrements the reference count of mbiasf
by one. If the reference count drops to 0,
all memory allocated by mbiasf
is released. Set pointer to NULL.
|
a NcHaloBiasFunc. |
nc_halo_bias_func_copy ()
NcHaloBiasFunc * nc_halo_bias_func_copy (NcHaloBiasFunc *mbiasf
);
Duplicates the NcHaloBiasFunc object setting the same values of the original propertities.
|
a NcHaloBiasFunc. |
Returns : |
A new NcHaloBiasFunc. [transfer full] |
nc_halo_bias_func_free ()
void nc_halo_bias_func_free (NcHaloBiasFunc *mbiasf
);
Atomically decrements the reference count of mbiasf
by one. If the reference count drops to 0,
all memory allocated by mbiasf
is released.
|
a NcHaloBiasFunc. |
nc_halo_bias_func_integrand ()
gdouble nc_halo_bias_func_integrand (NcHaloBiasFunc *mbiasf
,NcHICosmo *model
,gdouble lnM
,gdouble z
);
This function is the integrand of the mean bias, i.e., the product of the mass function with the bias function. As both functions depend on the standard deviation of the matter density contrast, we implement this function to compute \f$ \sigma (M, z) \f$ just once.
It is worth noting that the multiplicity function must be compatible with the bias function.
|
a NcHaloBiasFunc. |
|
a NcHICosmo. |
|
logarithm base e of the mass. |
|
redshift. |
Returns : |
a double which corresponds to the mean bias integrand for lnM and at redshift z. |
nc_halo_bias_func_new ()
NcHaloBiasFunc * nc_halo_bias_func_new (NcMassFunction *mfp
,NcHaloBiasType *biasf
);
This function allocates memory for a new NcHaloBiasFunc object and sets its properties to the values from the input arguments.
|
a NcMassFunction. |
|
a NcHaloBiasType. [allow-none] |
Returns : |
A new NcHaloBiasFunc. |
Property Details
The "bias-type"
property
"bias-type" NcHaloBiasType* : Read / Write / Construct Only
Bias Function Type.
The "mass-function"
property
"mass-function" NcMassFunction* : Read / Write / Construct Only
This property keeps the mass function object.