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