Method

NumCosmoMathSBesselOdeOperatorset_pinned_constraint

Declaration [src]

void
ncm_sbessel_ode_operator_set_pinned_constraint (
  NcmSBesselOdeOperator* op,
  glong pin1,
  glong pin2
)

Description [src]

Puts op on NCM_SBESSEL_ODE_CONSTRAINT_PINNED, closing the system with $\langle T_{pin1}, u\rangle = \langle T_{pin2}, u\rangle = 0$ instead of the Dirichlet data $u(x_a) = u(x_b) = 0$.

The pins must be distinct. The resolution floor is raised to one past the last pin, since below that the pinned rows are still empty and the system is short two pivots. The stored factorization is discarded.

Parameters

pin1

Type: glong

Index of the first pinned Chebyshev coefficient.

pin2

Type: glong

Index of the second pinned Chebyshev coefficient.