Top | ![]() |
![]() |
![]() |
![]() |
NcMultiplicityFuncTinkerNcMultiplicityFuncTinker — Dark matter halo -- Tinker multiplicity function. |
Functions
Functions
nc_multiplicity_func_tinker_new ()
NcMultiplicityFuncTinker *
nc_multiplicity_func_tinker_new (void
);
FIXME
nc_multiplicity_func_tinker_new_full ()
NcMultiplicityFuncTinker * nc_multiplicity_func_tinker_new_full (NcMultiplicityFuncMassDef mdef
,gdouble Delta
);
FIXME
nc_multiplicity_func_tinker_ref ()
NcMultiplicityFuncTinker *
nc_multiplicity_func_tinker_ref (NcMultiplicityFuncTinker *mt
);
Increases the reference count of mt
by one.
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.
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;
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.