Discontinuous Galerkin method on three-dimensional tetrahedral grids. The use of template metaprogramming of the C++ language
- 作者: Krasnov M.M.1, Ladonkina M.E.1
-
隶属关系:
- Keldysh Institute for Applied Mathematics
- 期: 卷 43, 编号 3 (2017)
- 页面: 172-183
- 栏目: Article
- URL: https://journals.rcsi.science/0361-7688/article/view/176506
- DOI: https://doi.org/10.1134/S0361768817030082
- ID: 176506
如何引用文章
详细
Many mathematical physics problems have great computational complexity, especially when they are solved on large-scale three-dimensional grids. The discontinuous Galerkin method is just an example of this kind. Therefore, reduction of the amount of computation is very a topical task. One of the possible ways to reduce the amount of computation is to move some of the computations to the compilation stage. With the appearance of templates, C++ provides such an opportunity. The paper demonstrates the use of template metaprogramming to speed up computations in the discontinuous Galerkin method. In addition, template metaprogramming sometimes simplifies the algorithm at the expense of its generalization.
作者简介
M. Krasnov
Keldysh Institute for Applied Mathematics
编辑信件的主要联系方式.
Email: kmm@kiam.ru
俄罗斯联邦, Miusskaya pl., 4, Moscow, 125047
M. Ladonkina
Keldysh Institute for Applied Mathematics
Email: kmm@kiam.ru
俄罗斯联邦, Miusskaya pl., 4, Moscow, 125047
补充文件
