Skip to content

Diagnostics and visualization

Plotting and animation live in the optional rbflab.viz module. Install rbflab[examples] and follow the visualization guide. Numerical solvers do not require plotting dependencies.

rbflab.diagnostics.nodal_diagnostics(system, exact_unknowns, *, condition_limit=200)

Diagnose an assembled LHI/RBF-FD system, before reconstruction.

Pass exact values in matrix-column order: interior values for LHI, all values for RBF-FD. This API does not accept global RBF coefficients. Row normalization removes equation magnitude, not physical units. A fixed alternating perturbation of the row-normalized RHS measures one response direction, not worst-case amplification. The system is factored lazily if necessary. Float64 small systems additionally report the row-scaled infinity-norm condition; extended systems keep consistency arithmetic extended and omit that Float64 condition estimate. No claim of a stability certificate.