The Mimetic Methods Toolkit: An object-oriented API for Mimetic Finite Differences
作者:
Highlights:
•
摘要
We introduce the Mimetic Methods Toolkit (MTK), an object-oriented Application Programming Interface, implementing Mimetic Finite Differences to assist in the development of scientific applications where the numerical solution of Partial Differential Equations is required. The MTK’s design is based on a variant of the Castillo–Grone Method for the construction of discrete differential operators that mimic important properties of their continuous counterparts. The MTK is built as a collection of abstract and concrete classes, thus allowing for an extensible framework, which fosters code reutilization, while intuitively educating the user about the theoretical aspects of Mimetic Finite Differences. We present an overview to Mimetic Finite Differences, and we discuss the computational modeling of the related concepts; in this way, we explain how the MTK implements these methods. In this article, we present examples to illustrate the MTK’s usage philosophy and the validity of the implementation of the MTK by comparing our results with previously studied reference solutions.
论文关键词:Object-oriented development,Partial differential equations,Application programming interfaces,Mimetic Finite Differences
论文评审过程:Received 30 September 2013, Revised 18 December 2013, Available online 4 January 2014.
论文官网地址:https://doi.org/10.1016/j.cam.2013.12.046