Method

NumCosmoDistanceprepare_if_needed

Declaration [src]

void
nc_distance_prepare_if_needed (
  NcDistance* dist,
  NcHICosmo* cosmo
)

Description [src]

This function prepares the object dist using cosmo if it was changed since last preparation.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.