fc4d29e08a
Overload the attribute copy function for each element type, avoiding the switch of different abstraction levels. The two extra arguments besides the meshes and elements were constant, so the resulting logic can be inlined as well.