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框架中两种领域特定语言作为实现浅水方程高阶间断伽辽金离散化工具的能力。研究考虑了球面几何下的方程,从而为领域特定语言应用于全球大气模型开发提供了范例。结果表明,专为有限差分/有限体积法设计的领域特定语言可成功扩展以实现间断伽辽金求解器。