Stabilizing the singularity swap quadrature for near-singular line integrals

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Krantz, David, Barnett, Alex H., Tornberg, Anna-Karin
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912770259156992
author Krantz, David
Barnett, Alex H.
Tornberg, Anna-Karin
author_facet Krantz, David
Barnett, Alex H.
Tornberg, Anna-Karin
contents Singularity swap quadrature (SSQ) is an effective method for the evaluation at nearby targets of potentials due to densities on curves in three dimensions. While highly accurate in most settings, it is known to suffer from catastrophic cancellation when the kernel exhibits both near-vanishing numerators and strong singularities, as arises with scalar double layer potentials or tensorial kernels in Stokes flow or linear elasticity. This precision loss turns out to be tied to the interpolation basis, namely monomial (for open curves) or Fourier (for closed curves). We introduce a simple yet powerful remedy: target-specific translated monomial and Fourier bases that explicitly incorporate the near-vanishing behavior of the kernel numerator. We combine this with a stable evaluation of the constant term which now dominates the integral, significantly reducing cancellation. We show that our approach achieves close to machine precision for prototype integrals, and up to ten orders of magnitude lower error than standard SSQ at extremely close evaluation distances, without significant additional computational cost.
format Preprint
id arxiv_https___arxiv_org_abs_2509_23881
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Stabilizing the singularity swap quadrature for near-singular line integrals
Krantz, David
Barnett, Alex H.
Tornberg, Anna-Karin
Numerical Analysis
65D32 (Primary) 65N80, 65D05, 76D07 (Secondary)
G.1.4; G.1.1; G.1.9
Singularity swap quadrature (SSQ) is an effective method for the evaluation at nearby targets of potentials due to densities on curves in three dimensions. While highly accurate in most settings, it is known to suffer from catastrophic cancellation when the kernel exhibits both near-vanishing numerators and strong singularities, as arises with scalar double layer potentials or tensorial kernels in Stokes flow or linear elasticity. This precision loss turns out to be tied to the interpolation basis, namely monomial (for open curves) or Fourier (for closed curves). We introduce a simple yet powerful remedy: target-specific translated monomial and Fourier bases that explicitly incorporate the near-vanishing behavior of the kernel numerator. We combine this with a stable evaluation of the constant term which now dominates the integral, significantly reducing cancellation. We show that our approach achieves close to machine precision for prototype integrals, and up to ten orders of magnitude lower error than standard SSQ at extremely close evaluation distances, without significant additional computational cost.
title Stabilizing the singularity swap quadrature for near-singular line integrals
topic Numerical Analysis
65D32 (Primary) 65N80, 65D05, 76D07 (Secondary)
G.1.4; G.1.1; G.1.9
url https://arxiv.org/abs/2509.23881