Constructor

NumCosmoClusterAbundancenew

Declaration [src]

NcClusterAbundance*
nc_cluster_abundance_new (
  NcHaloMassFunction* mfp,
  NcHaloBias* mbiasf
)

Description [src]

This function allocates memory for a new NcClusterAbundance object and sets its properties to the values from the input arguments.

Parameters

mfp

Type: NcHaloMassFunction

A NcHaloMassFunction.

The data is owned by the caller of the function.
mbiasf

Type: NcHaloBias

A NcHaloBias.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: NcClusterAbundance

A new NcClusterAbundance.

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