Function

NumCosmoMathModeltype_main_model

Declaration [src]

NcmModelID
ncm_model_type_main_model (
  GType model_type
)

Description [src]

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

Parameters

model_type

Type: GType

A GType.

Return value

Type: NcmModelID

Main model NcmModelID or -1.