A DSEL is presented which forms a unique mapping for discrete expressions according to Chapter 2 into the C++ programming language. Before details on the actual implementation of the single expressions are given, the notation is explained. This code is valid within the C++ syntax. Using the respective functional library for accessing the topological structure, these expressions serve as basis for the implementation of the respective discretization formulae.
5. 1 A Language for the Specification of Discretized Expressions