计算机科学 > 数学软件
[提交于 2026年11月30日]
标题:Precision Atlas for Scientific Kernels and Its Application to Adaptive Mesh Refinement
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In scientific calculations, precision of the stored quantities affects accuracy and, in adaptive methods, the spatial resolution selected by the numerical method. The objective here is to determine the precision required by individual operations and to apply these requirements to AMR. For this purpose, selected Lean-verified arithmetic results, analytical precision bounds and 6,480 evaluations of 60 scientific kernels are organized in a Precision Atlas. Controlled time integration problems are first used to distinguish the requirements for time advancement, state accumulation and output. The analysis is then extended to AMR, where a rounded sensor determines which cells are refined. The probabilities of tagging a cell and selecting a refinement block under stochastic rounding are derived. It is shown that rounding can tag a uniform field, producing a phantom gradient, when the floating-point spacing exceeds the refinement threshold. For a fixed gradient threshold, excluding these tags requires one additional significand bit for each halving of the mesh spacing. Shock--vortex (SV) and Rayleigh--Taylor (RT) calculations confirm that the extra refinement appears where this condition is violated. In finer SV case, stochastic BF16 tagging requires 2.69 times the cell updates of FP64 tagging. The Atlas bounds are used to construct a tagging criterion that excludes these extra tags. This criterion retains 20.03%, 61.67% and 99.99% of the reference tags under stochastic BF16, FP16 and FP32 sensor rounding. When the conserved state is also stored in FP16, the bound must include pressure reconstruction from conserved variables, and 94.73% of the decisions remain unresolved under stochastic rounding. The Atlas indicates when the stored quantities cannot establish the requested refinement decision and is a step toward a-priori precision selection for scientific calculations.
提交历史
来自:Vansh Sharma[v1] 2026年11月30日 星期一 04:24:06 UTC (1,471 KB)
当前浏览上下文:
physics.comp-ph
切换浏览方式为: