controllingVertexIdx() sometimes returns the wrong index for subfaces
For some 2d meshes, the controllingVertexIdx()
function of the generated subfaces returns an incorrect index.
As an example, in the case of the attached circle mesh, the corner in the reference triangle corresponding to the controllingVertexIdx()
is not equal to either end points of the subface given by subface->geometryInCell().corner(i)
.
However, for the attached square mesh this is true.