# log: s03_dirichlet_fd
# started (UTC): 2026-11-19T02:55:34+00:00
# python 3.12.14 on Darwin arm64
# argv: s03_dirichlet_fd.py
== convergence at s = x* against the closed form of [B] Lemma 6.5
  Ny=  25 hx=0.01935: U(0)=-0.388931 (closed form -0.388748, err -1.84e-04); max err real axis 5.81e-04, imaginary axis 1.84e-04; 0.1s
  Ny=  50 hx=0.00984: U(0)=-0.388794 (closed form -0.388748, err -4.57e-05); max err real axis 2.01e-04, imaginary axis 4.57e-05; 0.1s
  Ny= 100 hx=0.00497: U(0)=-0.388759 (closed form -0.388748, err -1.14e-05); max err real axis 7.03e-05, imaginary axis 1.14e-05; 0.3s
  Ny= 200 hx=0.00249: U(0)=-0.388751 (closed form -0.388748, err -2.85e-06); max err real axis 2.47e-05, imaginary axis 2.85e-06; 1.1s
  observed convergence orders of U(0): [2.0, 2.0, 2.0]; Richardson value -0.388748 (closed form -0.388748)
== general slit s: FD against the Poisson integral of s02, and the sign change of the tip coefficient
  s=0.2400: U_s(0) FD -0.385128  Poisson -0.384977 | tip coeff FD -0.1711  Poisson -0.1609 | max(U_s+L) on nodes -0.00950
  s=0.2600: U_s(0) FD -0.387900  Poisson -0.387822 | tip coeff FD -0.0867  Poisson -0.0816 | max(U_s+L) on nodes -0.00502
  s=0.2700: U_s(0) FD -0.388554  Poisson -0.388509 | tip coeff FD -0.0444  Poisson -0.0419 | max(U_s+L) on nodes -0.00277
  s=0.2805: U_s(0) FD -0.388759  Poisson -0.388748 | tip coeff FD +0.0002  Poisson +0.0000 | max(U_s+L) on nodes -0.00040
  s=0.2900: U_s(0) FD -0.388547  Poisson -0.388565 | tip coeff FD +0.0404  Poisson +0.0376 | max(U_s+L) on nodes +0.00175
  s=0.3000: U_s(0) FD -0.387945  Poisson -0.387989 | tip coeff FD +0.0826  Poisson +0.0773 | max(U_s+L) on nodes +0.00520
  s=0.3200: U_s(0) FD -0.385667  Poisson -0.385760 | tip coeff FD +0.1670  Poisson +0.1566 | max(U_s+L) on nodes +0.01490
  FD tip coefficient changes sign between s=0.2700 and s=0.2805; linear fit root s = 0.2805 (x* = 0.2805)
# finished (UTC): 2026-11-19T02:55:37+00:00  status: ok
