arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.05598math.NAcs.NAphysics.comp-ph
收藏

通过等分布实现变步长有限差分的实用配方

A practical recipe for variable-step finite differences via equidistribution

Mário B. Amaro

AI总结:

本文提出一个基于等分布映射的变步长有限差分实用配方,通过正权重函数生成非均匀网格,并验证其在二维薛定谔方程中提高局部本征函数分辨率且不增加矩阵规模。

摘要:

我们描述了一个简短、可复现的工作流程,用于在由正权重函数g确定的不均匀网格上应用有限差分。网格通过等分布获得,将均匀的计算坐标ξ∈[0,1]通过累积积分S(x)=∫_a^x 1/g(s) ds及其逆映射到物理空间,在多维情况下,通过具有张量P=(1/g)I的相应变扩散(调和)映射。然后,我们使用标准的三点中心模板在不均匀间距上计算一阶和二阶导数。我们收集了公式,陈述了g上的温和约束(正性、有界性、可积性),并提供了一个小型参考实现。最后,我们求解了均匀网格与变网格上谐振子的二维定态薛定谔方程,展示了在不增加矩阵规模的情况下,解析局部本征函数的预期改进。我们打算将此注释作为操作指南而非新方法,将广泛使用的思想整合成一个即用型配方,不声称新颖性。

英文摘要:

We describe a short, reproducible workflow for applying finite differences on nonuniform grids determined by a positive weight function g. The grid is obtained by equidistribution, mapping uniform computational coordinates $ξ\in[0,1]$ to physical space by the cumulative integral $S(x)=\int_a^x\!1/g(s)\,ds$ and its inverse, and in multiple dimensions by the corresponding variable-diffusion (harmonic) mapping with tensor $P=(1/g)I$. We then use the standard three-point central stencils on uneven spacing for first and second derivatives. We collect the formulas, state the mild constraints on g (positivity, boundedness, integrability), and provide a small reference implementation. Finally, we solve the 2D time-independent Schrödinger equation for a harmonic oscillator on uniform vs. variable meshes, showing the expected improvement in resolving localized eigenfunctions without increasing matrix size. We intend this note as a how-to reference rather than a new method, consolidating widely used ideas into a single, ready-to-use recipe, claiming no novelty.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑