Constructor
NumCosmoHICosmoLCDMnew_full
Declaration [src]
NcHICosmoLCDM*
nc_hicosmo_lcdm_new_full (
NcHIReion* reion,
NcHIPrim* prim,
NcBBN* bbn
)
Description [src]
Creates a new instance of NcHICosmoLCDM (Lambda-CDM cosmological model),
with reion, prim, and bbn attached at construction time (submodels are
construction-only and cannot be attached afterward). Each may be
NULL to leave that slot unset (a NULL bbn slot gets a default
NcBBNParthenope).
Parameters
reion-
Type:
NcHIReionA
NcHIReion.The argument can be NULL.The data is owned by the caller of the function. prim-
Type:
NcHIPrimA
NcHIPrim.The argument can be NULL.The data is owned by the caller of the function. bbn-
Type:
NcBBNA
NcBBN.The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: NcHICosmoLCDM
A new NcHICosmoLCDM.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |