Constructor

NumCosmoHaloCMParamnew

Declaration [src]

NcHaloCMParam*
nc_halo_cm_param_new (
  const NcHaloMassSummaryMassDef mdef,
  const gdouble Delta
)

Description [src]

This function returns the NcHaloCMParam implementation of NcHaloMassSummary setting NcHaloMassSummary:mass-def to mdef and NcHaloMassSummary:Delta to Delta.

Parameters

mdef

Type: NcHaloMassSummaryMassDef

A NcHaloMassSummaryMassDef.

Delta

Type: const gdouble

Cluster threshold mass definition $\Delta$.

Return value

Type: NcHaloCMParam

A new instance of NcHaloCMParam.

The caller of the function takes ownership of the data, and is responsible for freeing it.