Method

NumCosmoScalefactorprepare_if_needed

Declaration [src]

void
nc_scalefactor_prepare_if_needed (
  NcScalefactor* a,
  NcHICosmo* cosmo
)

Description [src]

Prepares the object a using the cosmological model cosmo if the model has changed since the last preparation. This function checks if an update is needed before recomputing the scale factor evolution.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.