Local Hermite interpolation (LHI)¶
LHI builds a local approximation using three kinds of information: solution values, boundary equations, and the PDE itself at nearby points. The unknown solution values are then coupled through a sparse global system.
This chapter derives the stationary scalar construction implemented by LHI. Vector Stokes uses the same functional principle with matrix-valued kernels; its pressure reconstruction is a separate operator.
1. Choose centers by their role¶
For an interior target \(\xi_i=x_i\), choose ordered sets
- \(S_i\): solution centers, carrying unknown values \(U_{S_i}\);
- \(B_i\): boundary centers, carrying known data \(g_{B_i}\);
- \(F_i\): PDE centers, carrying known forcing \(f_{F_i}\).
We use \(F_i\) for the PDE-center set so that \(P_i\) can consistently denote the polynomial matrix. A location can belong to both \(S_i\) and \(F_i\): a value and a PDE derivative are different functionals at that location.
Stack the functionals and data in the same order:
The local constraint count is \(n_i=|S_i|+|B_i|+|F_i|\), not the number of distinct physical locations. Polynomial augmentation adds another \(Q\) rows and columns. In the scalar API, stencil_size selects value/boundary candidates; additional PDE functionals can make the local matrix larger.
2. Build the Hermite approximation¶
Use the data functionals on the source side:
Enforce \(\lambda_k s_i=(d_i)_k\) and polynomial side conditions:
In particular, boundary/PDE rows of \(P_i\) contain boundary/PDE operators applied to the polynomials, not merely polynomial values. This is how augmentation stays consistent with Hermite data.
The kernel block has the structure
Under the symmetry and regularity assumptions of global Hermite collocation, \(G_i\) and \(H_i\) are symmetric in exact arithmetic. Repeated identical functionals or insufficient polynomial rank can still make them singular.
3. Evaluate the PDE at the target¶
Set \(\tau_i=\delta_{\xi_i}\mathcal L\). Form
By eliminating the coefficients,
Enforce \((\mathcal Ls_i)(\xi_i)=f(\xi_i)\). Only the value data are global unknowns:
For example, a patch containing three solution values, one boundary datum, and two PDE data produces three sparse coefficients in this global row, although it used six local functionals (plus polynomials).
4. Assemble the global system¶
Scatter the three weight groups into matrices \(W_S,W_B,W_F\), preserving their global index maps. With targets covering interior solution centers,
Here \(W_F\) has columns for all interior forcing samples, with zeros outside each patch's PDE set. \(W_B\) acts on sampled boundary functional data, which are not always boundary values.
Although every \(H_i\) is symmetric, \(A_h=W_S\) is generally nonsymmetric: its rows come from different local problems and retain only one group of weights.
Why exclude the target from PDE centers?¶
If \(\delta_{\xi_i}\mathcal L\) were already a data functional, the interpolant would satisfy that equation by construction. In exact arithmetic its evaluation weights would simply select the same forcing datum. Assembling it again would give \(f(\xi_i)=f(\xi_i)\), not a new equation for the solution values.
RBFLAB therefore includes the target among solution centers and excludes it from PDE centers. This is an algebraic requirement of this collocation row, not a rule against using multiple distinct functionals at other locations.
Reconstruct after solving¶
After obtaining \(U_I\), insert the solved values into every \(d_i\) and recover local coefficients. Alternatively, construct weights for another target functional \(\tau\):
Value, gradient, Laplacian, and pressure-gradient reconstructions have different \(q_i^\tau\). Reusing the PDE weights for a different output is not valid. The scalar LHISolution.evaluate selects the nearest interior stencil; neighboring reconstructions need not agree on patch interfaces. Off-node errors and PDE residuals must therefore be reported with the reconstruction policy.
Try it: global/LHI comparison and annular Laplace. Read next: time-dependent systems, where PDE-center data can contain unknown time derivatives. Background: Stevens et al. and Narcowich & Ward.