Wrong reference while generating contour
In generate_contour/contour_utilities, it is not clear to me why, when we assign the references using the parent element option, we look at the reference of the vertices and not directly at the reference of the parent element...
Consider this simple example:
tria1 : 1 2 3 with ref 1
tria2 : 2 4 5 with ref 2
and we want to build the boundary edges
edge1 : 1 2
edge2 : 2 4
then, depending on whether vertex 2 has reference 1 or 2, we assign a wrong reference to edge1 or edge2...
Edited by Daniele