Mean Halo Bias Function

Mean Halo Bias Function — FIXME

Synopsis

struct              NcHaloBiasFunc;
struct              NcHaloBiasFuncClass;
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);

Object Hierarchy

  GObject
   +----NcHaloBiasFunc

Properties

  "bias-type"                NcHaloBiasType*       : Read / Write / Construct Only
  "mass-function"            NcMassFunction*       : Read / Write / Construct Only

Description

FIXME

Details

struct NcHaloBiasFunc

struct NcHaloBiasFunc;

struct NcHaloBiasFuncClass

struct NcHaloBiasFuncClass {
};

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.

mbiasf :

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.

mbiasf :

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.

mbiasf :

a NcHaloBiasFunc.

model :

a NcHICosmo.

lnM :

logarithm base e of the mass.

z :

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.

Returns: A new NcHaloBiasFunc.

mfp :

a NcMassFunction.

biasf :

a NcHaloBiasType. [allow-none]

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.