Method

NumCosmoGalaxyShapeFactorupdate_data_at_nodes_sigma

Declaration [src]

void
nc_galaxy_shape_factor_update_data_at_nodes_sigma (
  NcGalaxyShapeFactor* gsf,
  NcGalaxyShapeFactorData* data
)

Description [src]

Refreshes datas cached surface mass density Sigma(R) used by the fixed-nodes path, using datas own cached projected radius as an input. Unconditional: call only when nc_galaxy_shape_factor_get_radius_hash() or nc_galaxy_shape_factor_get_optzs_hash() changed, and only after nc_galaxy_shape_factor_update_data_radius() in the same cycle if that one also needs to run — this assumes datas cached projected radius is already current (same ordering contract as update_data_optzs()).

Parameters

data

Type: NcGalaxyShapeFactorData

A NcGalaxyShapeFactorData.

The data is owned by the caller of the method.