Documentation for Release 2024.1

Element Local Index Numbering Convention

Linear elements

See image below for the local numbering of 1D, 2D, and 3D simplices (tetrahedral elements).

  • Numbering for a line is clear, left to right.

  • Numbering for the triangles has to be done in anticlockwise fashion, important for the Jacobian matrices (to have positive determinant).

  • Numbering for the tetrahedrons has to be done using the right hand rule1, important for the Jacobian matrices (to have positive determinant).

Mesh Scheme Numbering

Quadratic elements

Triangles

  • Vertices are nodes 0, 1, 2.
  • Node 4 is opposite node 0.
  • Node 5 is opposite node 1.
  • Node 6 is opposite node 2.

Tetrahedra

  • Vertices are nodes 0,1,2,3.
  • The following table gives the two vertices adjacent to each internal node:
Internal nodeAdjacent vertices
40, 1
51, 2
60, 2
70, 3
81, 3
92, 3

These are the same as Triangle or TetGen.


  1. Right hand rule: form three orthognal axis with the thumb, index and middle finger, then the first node is junction of thumb and index, second node is the end of the thumb, third node is the end of the index, fourth node is at the end of the middle finger. (ever done some cross-products?) ↩︎