Function

NumCosmoGalaxyPositionFactorDatanew

Declaration [src]

NcGalaxyPositionFactorData*
nc_galaxy_position_factor_data_new (
  NcGalaxyPositionFactor* gspf,
  NcmMSet* mset
)

Description [src]

Creates a new per-galaxy NcGalaxyPositionFactorData for the scheme gspf, delegating fragment allocation to the scheme via its data_init vfunc.

Parameters

gspf

Type: NcGalaxyPositionFactor

A NcGalaxyPositionFactor.

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

Type: NcmMSet

A NcmMSet supplying the scheme’s models.

The data is owned by the caller of the function.

Return value

Type: NcGalaxyPositionFactorData

A new NcGalaxyPositionFactorData.

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