We assess two domain-specific languages included in the GridTools ecosystem as tools for implementing a high-order Discontinuous Galerkin discretization of the shallow water equations. Equations in spherical geometry are considered, thus providing a blueprint for the application of domain-specific languages to the development of global atmospheric models. The results demonstrate that domain-specific languages designed for finite difference/volume methods can be successfully extended to implement a Discontinuous Galerkin solver.
翻译:我们评估了GridTools生态系统中包含的两种领域特定语言作为实现浅水方程的高阶不连续Galerkin离散化的工具。考虑了球面几何中的方程,从而为领域特定语言在全球大气模型开发中的应用提供了蓝图。结果表明,为有限差分/体积方法设计的领域特定语言可以成功地扩展到实现不连续Galerkin求解器。