Implement subIndex for 3D edges and corners

With @oliver.sander we sat down to provide all the possible results of subIndex for UGGrid. In particular:

  • 3D entities for volume, edge and line may ask for a sub-entity index embedded in its geometry in any (sub-)codim.
  • Additionally, it fixes a bug for codim==0 subIndex of an edge: If the an 3D edge is passed as an argument requesting a 0 sub-codim index, the previous implementation would try to get the index of the 0-th vertex, rather than of the edge itself.

Close #155

Edited by Santiago Ospina De Los Ríos

Merge request reports

Loading