Constructor
NumCosmoHaloCMPrada12new
Declaration [src]
NcHaloCMPrada12*
nc_halo_cm_prada12_new (
const NcHaloMassSummaryMassDef mdef,
const gdouble Delta,
NcHaloMassFunction* mfp
)
Description [src]
This function returns the NcHaloCMPrada12 implementation of NcHaloMassSummary
setting NcHaloMassSummary:mass-def to mdef and NcHaloMassSummary:Delta to Delta.
Parameters
mdef-
Type:
NcHaloMassSummaryMassDefA
NcHaloMassSummaryMassDef. Delta-
Type:
const gdoubleCluster threshold mass definition $\Delta$.
mfp-
Type:
NcHaloMassFunctionA
NcHaloMassFunction.The data is owned by the caller of the function.
Return value
Type: NcHaloCMPrada12
A new instance of NcHaloCMPrada12.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |