Function

NumCosmoMathModelclear

Declaration [src]

void
ncm_model_clear (
  NcmModel** model
)

Description [src]

Atomically decrements the reference count of model by one. If the reference count drops to 0, all memory allocated by model is released. Set pointer to NULL.

Parameters

model

Type: NcmModel

A NcmModel.

The data is owned by the caller of the function.