Research Article

Finite Element Assembly Using an Embedded Domain Specific Language

Table 4

Assembly times for each step in Chorin’s method, compared between our Proto expressions and DOLFIN. Relative is the DOLFIN timing in multiples of the Proto timing. Wall times are in seconds.

Dummy matrix Epetra matrix
Proto DOLFIN Proto DOLFIN
Wall Wall Relative Wall Wall Relative

Aux. matrix 4.33 10.15 2.34 7.17 17.98 2.51
matrix 0.28 0.19 0.67 0.53 0.75 1.42
Corr. matrix 2.38 0.22 0.09 5.23 8.09 1.55
Aux. RHS 3.12 1.17 0.375 3.18 2.32 0.73
RHS 0.85 0.40 0.47 0.86 0.85 0.99
Corr. RHS 1.23 0.35 0.28 1.26 1.59 1.26