NcHaloBiasFunc

NcHaloBiasFunc — Mean halo bias function.

Properties

NcHaloBiasType * bias-type Read / Write / Construct Only
NcHaloMassFunction * mass-function Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── NcHaloBiasFunc

Description

FIXME

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.

Parameters

mfp

a NcHaloMassFunction.

 

biasf

a NcHaloBiasType.

[allow-none]

Returns

A new 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.

Parameters

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.

Parameters

mbiasf

a NcHaloBiasFunc.

 

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.

Parameters

mbiasf

a NcHaloBiasFunc.

 

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.

Parameters

mbiasf

a NcHaloBiasFunc.

 

cosmo

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.

Property Details

The “bias-type” property

  “bias-type”                NcHaloBiasType *

Bias Function Type.

Owner: NcHaloBiasFunc

Flags: Read / Write / Construct Only


The “mass-function” property

  “mass-function”            NcHaloMassFunction *

This property keeps the mass function object.

Owner: NcHaloBiasFunc

Flags: Read / Write / Construct Only