NcMultiplicityFuncTinker

NcMultiplicityFuncTinker — Dark matter halo -- Tinker multiplicity function.

Functions

Object Hierarchy

    GObject
    ╰── NcMultiplicityFunc
        ╰── NcMultiplicityFuncTinker

Description

FIXME Reference: arxiv:0803.2706

Functions

nc_multiplicity_func_tinker_new ()

NcMultiplicityFuncTinker *
nc_multiplicity_func_tinker_new (void);

FIXME

Returns

A new NcMultiplicityFuncTinker.


nc_multiplicity_func_tinker_new_full ()

NcMultiplicityFuncTinker *
nc_multiplicity_func_tinker_new_full (NcMultiplicityFuncMassDef mdef,
                                      gdouble Delta);

FIXME

Parameters

mdef

a NcMultiplicityFuncMassDef

 

Delta

parameter that multiplies the background mass density (mean ou critical)

 

Returns

A new NcMultiplicityFuncTinker.


nc_multiplicity_func_tinker_ref ()

NcMultiplicityFuncTinker *
nc_multiplicity_func_tinker_ref (NcMultiplicityFuncTinker *mt);

Increases the reference count of mt by one.

Parameters

Returns

mt .

[transfer full]


nc_multiplicity_func_tinker_free ()

void
nc_multiplicity_func_tinker_free (NcMultiplicityFuncTinker *mt);

Atomically decrements the reference count of mt by one. If the reference count drops to 0, all memory allocated by mt is released.

Parameters


nc_multiplicity_func_tinker_clear ()

void
nc_multiplicity_func_tinker_clear (NcMultiplicityFuncTinker **mt);

Atomically decrements the reference count of mt by one. If the reference count drops to 0, all memory allocated by mt is released. Set the pointer to NULL;

Parameters


nc_multiplicity_func_tinker_set_linear_interp ()

void
nc_multiplicity_func_tinker_set_linear_interp
                               (NcMultiplicityFuncTinker *mulf,
                                gboolean lin_interp);

If lin_interp is true uses linear interpolation to compute the coefficients A, a0, b0 and c. Otherwise it uses cubic interpolation as described in arxiv:0803.2706.

Parameters

mulf

a NcMultiplicityFuncTinker.

 

lin_interp

a gboolean