Top | ![]() |
![]() |
![]() |
![]() |
Properties
NcHaloBiasType * | bias-type | Read / Write / Construct Only |
NcHaloMassFunction * | mass-function | Read / Write / Construct Only |
Functions
nc_halo_bias_func_new ()
NcHaloBiasFunc * nc_halo_bias_func_new (NcHaloMassFunction *mfp
,NcHaloBiasType *biasf
);
This function allocates memory for a new NcHaloBiasFunc object and sets its properties to the values from the input arguments.
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.
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.
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.
nc_halo_bias_func_integrand ()
gdouble nc_halo_bias_func_integrand (NcHaloBiasFunc *mbiasf
,NcHICosmo *cosmo
,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.
Property Details
The “bias-type”
property
“bias-type” NcHaloBiasType *
Bias Function Type.
Flags: Read / Write / Construct Only
The “mass-function”
property
“mass-function” NcHaloMassFunction *
This property keeps the mass function object.
Flags: Read / Write / Construct Only