Method

NumCosmoXcorSolverset_integrator

Declaration [src]

void
nc_xcor_solver_set_integrator (
  NcXcorSolver* solver,
  NcmSBesselIntegrator* sbi
)

Description [src]

Sets the integrator solver copies once per ell-block. Every block gets its own copy of sbi, pinned to that block’s multipole range, so all registered kernels share one integrator per block instead of each carrying its own.

Passing NULL restores the default, which is to copy the integrator of the first registered kernel that has one. Either way the copies, not sbi itself, are used, and the kernels’ own integrator properties are ignored during nc_xcor_solver_solve() — they still apply to nc_xcor_compute().

Discards any existing per-block integrators, so the next nc_xcor_solver_solve() rebuilds them.

Parameters

sbi

Type: NcmSBesselIntegrator

A NcmSBesselIntegrator to copy per block, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.