Research Article

Finite Element Assembly Using an Embedded Domain Specific Language

Table 2

Linear system assembly times (wall clock time and timing relative to Manual) for the Poisson problem on the unit square, using first order triangle shape functions on a 1000 × 1000 grid.

Dummy matrix Epetra matrix
Wall clock (s) Relative Wall clock (s) Relative

Proto 0.32 5.93 0.61 1.79
Proto specialized 0.069 1.27 0.35 1.03
Manual 0.054 1 0.34 1
Virtual 2.82 52.2 3.18 9.35
DOLFIN 0.31 5.74 1.13 3.32