Research Article

Finite Element Assembly Using an Embedded Domain Specific Language

Figure 3

Call graphs of optimized code for the Poisson element matrix computation, from left to right: the generic Proto code, the Proto code with user-defined terminal, and the manually coded version. The percentages indicate the time spent in each function relative to the total execution time. The numbers next to the arrows indicate the absolute execution time, expressed in number of “ticks.”