Method

NumCosmoGalaxySDShapeprepare_data_array_at_nodes

Declaration [src]

gboolean
nc_galaxy_sd_shape_prepare_data_array_at_nodes (
  NcGalaxySDShape* gsds,
  NcmMSet* mset,
  GPtrArray* data_array,
  const GPtrArray* z_nodes_per_galaxy,
  gboolean update_radius,
  gboolean update_crit,
  gboolean update_sigma
)

Description [src]

Pre-computes cached quantities (Σ_crit per node, Σ(R)) for the fixed GL quadrature path.

Parameters

mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.
data_array

Type: An array of None

Per-galaxy shape data.

The data is owned by the caller of the method.
z_nodes_per_galaxy

Type: An array of NcmVector*

Per-galaxy z node vectors.

The data is owned by the caller of the method.
update_radius

Type: gboolean

Whether the radius must be updated.

update_crit

Type: gboolean

Whether the critical surface density cache data must be updated.

update_sigma

Type: gboolean

Whether the surface mass density cache must be updated.

Return value

Type: gboolean

TRUE if successful.