Class method

NumCosmoMathModelClassadd_submodels

Declaration [src]

void
ncm_model_class_add_submodels (
  NcmModelClass* model_class,
  guint submodel_slot_len
)

Description [src]

Class function to be used when implementing NcmModels. It declares that the model has submodel_slot_len submodel slots, in addition to any inherited from the parent class. Submodels can only be attached at construction time, through the slots declared with ncm_model_class_set_submodel(). It must be called after ncm_model_class_add_params().

Parameters

submodel_slot_len

Type: guint

Number of submodel slots to add.