Struct

NumCosmoWLSurfaceMassDensityLensCtx

Description [src]

struct NcWLSurfaceMassDensityLensCtx {
  /* No available fields */
}

Lens-side context that caches the z_lens-dependent constants shared across many source redshifts during crit_cache_prep.

Instance methods

nc_wl_surface_mass_density_lens_ctx_prep

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.