Method

NumCosmoMathModelCtrlmodel_has_submodel

Declaration [src]

gboolean
ncm_model_ctrl_model_has_submodel (
  NcmModelCtrl* ctrl,
  NcmModelID mid
)

Description [src]

Checks if there is a submode inside ctrl model, it is an error to call this function in an empty ctrl.

Parameters

mid

Type: NcmModelID

A NcmModelID.

Return value

Type: gboolean

TRUE if there is a submodel with mid inside the ctrl model.