|
Preprints of the Keldysh Institute of Applied Mathematics, 2016, 024, 23 pp.
(Mi ipmp2100)
|
|
|
|
Discontinuous Galerkin method on three-dimensional tetrahedral meshes. The usage of C++ template metaprogramming
M. M. Krasnov, M. E. Ladonkina
Abstract:
Many mathematical physics problems possess considerable computational complexity, especially when solving problems on three-dimensional meshes, which sometimes may be very large. Discontinuous Galerkin method is an example of such a problem. That is why the decreasing of the computing amount is an actual task. One of the possible methods of decreasing of the computing amount is to move some part of computations to the compile stage. C++ language with the appearance of templates (in the initial version of the language they were absent) gives such a possibility. This work illustrates the usage of template metaprogramming to speed-up the discontinuous Galerkin method. Besides, template metaprogramming sometimes allows to simplify an algorithm by its generalizing.
Keywords:
template metaprogramming, three-dimensional tetrahedral meshes, discontinuous Galerkin method.
Citation:
M. M. Krasnov, M. E. Ladonkina, “Discontinuous Galerkin method on three-dimensional tetrahedral meshes. The usage of C++ template metaprogramming”, Keldysh Institute preprints, 2016, 024, 23 pp.
Linking options:
https://www.mathnet.ru/eng/ipmp2100 https://www.mathnet.ru/eng/ipmp/y2016/p24
|
Statistics & downloads: |
Abstract page: | 283 | Full-text PDF : | 179 | References: | 41 |
|