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.
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.