Method
NumCosmoWLSurfaceMassDensityLensCtxprep
Declaration [src]
void
nc_wl_surface_mass_density_lens_ctx_prep (
NcWLSurfaceMassDensityLensCtx* ctx,
NcWLSurfaceMassDensity* smd,
NcHICosmo* cosmo,
const gdouble zl
)
Description [src]
Precomputes the lens-side constants (curvature, comoving distance, sigma_crit
prefactor) used by repeated #nc_wl_surface_mass_density_reduced_shear_crit_cache_prep_with_lens_ctx()
calls that share the same cosmo and zl. Hoists cosmology getters and one
comoving-distance evaluation out of an inner-loop call site.
This method is not directly available to language bindings.
Parameters
smd-
Type:
NcWLSurfaceMassDensityA
NcWLSurfaceMassDensity.The data is owned by the caller of the method. cosmo-
Type:
NcHICosmoA
NcHICosmo.The data is owned by the caller of the method. zl-
Type:
const gdoubleLens redshift $z_\mathrm{lens}$.