Method

NumCosmoMathModelmain_model

Declaration [src]

NcmModelID
ncm_model_main_model (
  NcmModel* model
)

Description [src]

If model is a submodel returns the NcmModelID of its main model, otherwise returns -1.

Return value

Type: NcmModelID

Main model NcmModelID or -1.