CodiceMOX 57
TitoloExpression Templates Implementation of Continuous and Discontinous Galerkin Methods
Data2005-04-19
Autore/iDi Pietro, Daniele A.; Veneziani, Alessandro
LinkDownload full text
AbstractEfficiency and flexibility are often mutually exclusive features in a code. This still prompts a large part of the Scientific Computing Community to use traditional procedural language. In the last years, however, new programming techniques have been introduced allowing for a high level of abstraction without loss of performance. In this paper we present an application of the Expression Templates technique introduced in [13] to the assembly step of a finite element computation. We show that a suitable implementation, such that the compiler has the role of parsing abstract operations, allows for user-friendliness and gain in performance with respect to more traditional techniques. Both the cases of confonforming and discontinuous Galerkin finite element discretization are considered. The proposed implementation is finally applied to a number of problems entailing different kind of complications.