arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.05475math.NAcs.NA
收藏

pythOS:一个通过算子分裂求解初值问题的Python库

pythOS: A Python library for solving IVPs by operator splitting

Victoria Guenter, Siqi Wei, Raymond J. Spiteri

AI总结:

本文介绍Python库pythOS,用于通过算子分裂方法系统求解微分方程初值问题,实现了分数步、加性Runge--Kutta及多速率无穷小等方法,并与Firedrake和Irksome库集成以支持实际应用。

摘要:

算子分裂方法在微分方程数值求解中应用广泛,尤其是由偏微分方程的半离散方法(method-of-lines)离散化所产生的常微分方程初值问题。这类问题通常可以通过对各个项分别采用专门方法进行单独处理,而非以整体统一的方式同时求解,从而获得更有效的求解效果。本文介绍了pythOS,一个用于通过算子分裂方法系统求解微分方程的Python软件库。pythOS的功能侧重于分数步方法,包括具有实系数和复系数的方法,同时还实现了加性Runge--Kutta方法、广义加性Runge--Kutta方法、多速率方法以及多速率无穷小方法。通过与用于偏微分方程有限元空间离散的Firedrake库的接口,可以方便地对实际问题进行求解实验,并且通过便捷地实现来自Irksome软件库的指数时间积分方法和全隐式Runge--Kutta方法进一步增强了其功能。通过若干示例展示了pythOS的功能以及算子分裂方法中一些较少被普遍认识到的方面。

英文摘要:

Operator-splitting methods are widespread in the numerical solution of differential equations, especially the initial-value problems in ordinary differential equations that arise from a method-of-lines discretization of partial differential equations. Such problems can often be solved more effectively by treating the various terms individually with specialized methods rather than simultaneously in a monolithic fashion. This paper describes \pythOS, a Python software library for the systematic solution of differential equations by operator-splitting methods. The functionality of \pythOS\ focuses on fractional-step methods, including those with real and complex coefficients, but it also implements additive Runge--Kutta methods, generalized additive Runge--Kutta methods, and multi-rate, and multi-rate infinitesimal methods. Experimentation with the solution of practical problems is facilitated through an interface to the \Firedrake\ library for the finite element spatial discretization of partial differential equations and further enhanced by the convenient implementation of exponential time-integration methods and fully implicit Runge--Kutta methods available from the \Irksome\ software library. The functionality of \pythOS\ as well as some less generally appreciated aspects of operator-splitting methods are demonstrated by means of examples.

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

↑