I get mesh.nedge as 9, while the mesh only has 8 edges. From other examples I’ve tried, it appears that the number reported is the sum of the edges plus the number of edges that have were split. I’m currently on the latest master branch.
you can do the same as the hcurl fespace and set the coupling type of the edge dofs of the coarse mesh to UNUSED_DOF. Then you can continue to use the numbering provided by the mesh topology for associating edge nrs to dof nrs
Have a look in hcurlhofespace.cpp and search for fine_edge