Hello, everyone.
With a specific mesh, I’ve created the following function space based on N1E:
element = basix.create_element(basix.ElementFamily.N1E, basix.CellType.triangle, 1)
e = basix.ufl_wrapper.BasixElement(element, 3)
V = fem.FunctionSpace(domain, e)
E = fem.Function(V)
My question is: how can I establish the relationship between degrees of freedom (dof) indices and edge indices in the mesh domain, and vice versa? For instance, in the provided image, it illustrates cell 3375, where E[5000]=1, i.e., dof=5000. It’s evident that dof=5000 corresponds to the edge between the red and blue nodes. Now, how can I determine the index of this edge and find the corresponding dof index given an edge index?
Any insights are appreciated!
