First off I would like to point out that this isn't new code, I just copied it here from the ```MeshRevision``` class.
Afaik you cannot create arrays of size that isn't known at compile time, so 
``` MeshLib::Node** new_nodes = new MeshLib::Node*[elem -> getNNodes())];```
shouldn't work. Am I right?
Also, I don't see where they type of ```elem``` is determined. I am aware that templates "automate" this, but based on my understanding I don't see this working.