Virtual Method

NumCosmoGalaxyShapeFactorprepare

Declaration [src]

void
prepare (
  NcGalaxyShapeFactor* gsf,
  NcmMSet* mset
)

Description [src]

Factory-level prepare: refreshes the geometry/profile caches shared by every galaxy (only recomputing whichever half actually went stale, judged by hashing the models each half depends on), refreshes the cached model references NcGalaxyShapeFactors own per-Data updates use (nc_galaxy_shape_factor_update_data_radius(), nc_galaxy_shape_factor_update_data_optzs(), nc_galaxy_shape_factor_update_data_pop()), then calls the subclass’s own prepare hook. Cheap/no-op when nothing relevant changed — safe and correct to call unconditionally every orchestrator prepare() cycle.

Parameters

mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.