Method

NumCosmoWLSurfaceMassDensityreduced_shear_crit_cache_prep_with_lens_ctx

Declaration [src]

void
nc_wl_surface_mass_density_reduced_shear_crit_cache_prep_with_lens_ctx (
  NcWLSurfaceMassDensity* smd,
  NcHICosmo* cosmo,
  const NcWLSurfaceMassDensityLensCtx* ctx,
  const gdouble zs,
  NcWLSurfaceMassDensityCritCache* crit_cache
)

Description [src]

Variant of #nc_wl_surface_mass_density_reduced_shear_crit_cache_prep() that reuses a pre-computed lens-side context. Only the source-side comoving distance and curvature transform are computed per call.

This method is not directly available to language bindings.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: NcWLSurfaceMassDensityLensCtx

A NcWLSurfaceMassDensityLensCtx already prepared via #nc_wl_surface_mass_density_lens_ctx_prep().

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

Type: const gdouble

Source redshift $z_\mathrm{source}$.

crit_cache

Type: NcWLSurfaceMassDensityCritCache

A NcWLSurfaceMassDensityCritCache.

The argument will be set by the function.
The returned data is owned by the instance.