Method

NumCosmoMathMSetpeek_pos

Declaration [src]

NcmModel*
ncm_mset_peek_pos (
  NcmMSet* mset,
  NcmModelID base_mid,
  guint stackpos_id
)

Description [src]

Peeks a NcmModel from the NcmMSet using the model id base_mid and stack position stackpos_id. This function is useful when the model is stackable.

Parameters

base_mid

Type: NcmModelID

A NcmModelID.

stackpos_id

Type: guint

Position in the stack.

Return value

Type: NcmModel

A NcmModel with the model id base_mid + stackpos_id.

The returned data is owned by the instance.