I need to determine the vertex dofs with a higher order conforming space like this
mesh = UnitSquareMesh(3, 3)
V = FunctionSpace(mesh, 'CG', 2)
vertex_to_dof_map(V)
*bam*
Error: Unable to tabulate dof to vertex map.
Reason: Can only tabulate dofs on vertices.
Where: This error was encountered inside DofMap.cpp.
So, yes, "tabulate dofs (just) on vertices" is exactly what I want and vertex_to_dof_map does this nicely for P1. What is the problem with P2?
Is there another way to get this information?