Method

NumCosmoDistanceprepare

Declaration [src]

void
nc_distance_prepare (
  NcDistance* dist,
  NcHICosmo* cosmo
)

Description [src]

This function prepares the object dist using cosmo, such that all the available distances functions can be evaluated, e.g. nc_distance_comoving().

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.