Function
NumCosmoGalaxyRedshiftFactorDatanew
Declaration [src]
NcGalaxyRedshiftFactorData*
nc_galaxy_redshift_factor_data_new (
NcGalaxyRedshiftFactor* gsdr,
NcmMSet* mset
)
Description [src]
Creates a new per-galaxy NcGalaxyRedshiftFactorData for the scheme gsdr,
delegating fragment allocation to the scheme via its data_init vfunc (which
reads the required models from mset).
Parameters
gsdr-
Type:
NcGalaxyRedshiftFactorA
NcGalaxyRedshiftFactor.The data is owned by the caller of the function. mset-
Type:
NcmMSetA
NcmMSetsupplying the scheme’s models.The data is owned by the caller of the function.
Return value
Type: NcGalaxyRedshiftFactorData
A new NcGalaxyRedshiftFactorData.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |