Finite Element Assembly Using an Embedded Domain Specific Language

In finite element methods, numerical simulation of the problem requires the generation of a linear system based on an integral form of a problem. Using C++ meta-programming techniques, a method is developed that allows writing code that stays close to the mathematical formulation. We explain the spe...

Full description

Bibliographic Details
Main Authors: Bart Janssens, Támas Bányai, Karim Limam, Walter Bosschaerts
Format: Article
Language:English
Published: Hindawi Limited 2015-01-01
Series:Scientific Programming
Online Access:http://dx.doi.org/10.1155/2015/797325
id doaj-58b1599839344079a931556fe908d26b
record_format Article
spelling doaj-58b1599839344079a931556fe908d26b2021-07-02T04:25:23ZengHindawi LimitedScientific Programming1058-92441875-919X2015-01-01201510.1155/2015/797325797325Finite Element Assembly Using an Embedded Domain Specific LanguageBart Janssens0Támas Bányai1Karim Limam2Walter Bosschaerts3Department of Mechanics, Royal Military Academy, Avenue de Renaissance 30, 1000 Brussels, Belgiumvon Karman Institute for Fluid Dynamics, Chaussée de Waterloo 72, 1640 Rhode-Saint-Genèse, BelgiumLaSIE, La Rochelle University, Avenue Michel Crépeau, 17042 La Rochelle Cedex 1, FranceDepartment of Mechanics, Royal Military Academy, Avenue de Renaissance 30, 1000 Brussels, BelgiumIn finite element methods, numerical simulation of the problem requires the generation of a linear system based on an integral form of a problem. Using C++ meta-programming techniques, a method is developed that allows writing code that stays close to the mathematical formulation. We explain the specifics of our method, which relies on the Boost.Proto framework to simplify the evaluation of our language. Some practical examples are elaborated, together with an analysis of the performance. The abstraction overhead is quantified using benchmarks.http://dx.doi.org/10.1155/2015/797325
collection DOAJ
language English
format Article
sources DOAJ
author Bart Janssens
Támas Bányai
Karim Limam
Walter Bosschaerts
spellingShingle Bart Janssens
Támas Bányai
Karim Limam
Walter Bosschaerts
Finite Element Assembly Using an Embedded Domain Specific Language
Scientific Programming
author_facet Bart Janssens
Támas Bányai
Karim Limam
Walter Bosschaerts
author_sort Bart Janssens
title Finite Element Assembly Using an Embedded Domain Specific Language
title_short Finite Element Assembly Using an Embedded Domain Specific Language
title_full Finite Element Assembly Using an Embedded Domain Specific Language
title_fullStr Finite Element Assembly Using an Embedded Domain Specific Language
title_full_unstemmed Finite Element Assembly Using an Embedded Domain Specific Language
title_sort finite element assembly using an embedded domain specific language
publisher Hindawi Limited
series Scientific Programming
issn 1058-9244
1875-919X
publishDate 2015-01-01
description In finite element methods, numerical simulation of the problem requires the generation of a linear system based on an integral form of a problem. Using C++ meta-programming techniques, a method is developed that allows writing code that stays close to the mathematical formulation. We explain the specifics of our method, which relies on the Boost.Proto framework to simplify the evaluation of our language. Some practical examples are elaborated, together with an analysis of the performance. The abstraction overhead is quantified using benchmarks.
url http://dx.doi.org/10.1155/2015/797325
work_keys_str_mv AT bartjanssens finiteelementassemblyusinganembeddeddomainspecificlanguage
AT tamasbanyai finiteelementassemblyusinganembeddeddomainspecificlanguage
AT karimlimam finiteelementassemblyusinganembeddeddomainspecificlanguage
AT walterbosschaerts finiteelementassemblyusinganembeddeddomainspecificlanguage
_version_ 1721340130305769472