English

Tools for Characterizing the Numerical Error of Stellar Oscillation Codes

Solar and Stellar Astrophysics 2025-05-29 v2

Abstract

Stellar oscillation codes are software instruments that evaluate the normal-mode frequencies of an input stellar model. While inter-code comparisons are often used to confirm the correctness of calculations, they are not suitable for characterizing the numerical error of an individual code. To address this issue, we introduce a set of tools -- 'error measures' -- that facilitate this characterization. We explore the behavior of these error measures as calculation parameters, such as the number of radial grid points used to discretize the oscillation equations, are varied; and we summarize this behavior via an idealized error model. While our analysis focuses on the GYRE code, it remains broadly applicable to other oscillation codes.

Keywords

Cite

@article{arxiv.2505.20212,
  title  = {Tools for Characterizing the Numerical Error of Stellar Oscillation Codes},
  author = {Richard H. D. Townsend and Rianna V. Kuenzi and Jørgen Christensen-Dalsgaard},
  journal= {arXiv preprint arXiv:2505.20212},
  year   = {2025}
}

Comments

15 pages, 10 figures, submitted to ApJ. Revised to include additional reference

R2 v1 2026-07-01T02:40:17.528Z