| 15 | == Numbering == |
| 16 | Vertices, Elements and Nodes have different numberings: |
| 17 | |
| 18 | - Id: random but unique |
| 19 | - SId: serial Id. Starts at 0 and increases by one, this numbering is independent of the mesh partitioning (hence "serial") and is the same as if there was only one cpu. |
| 20 | - PId: parallel Id. Starts at 0 and increases by one but is such that we count the entities on the first partition first, then the second etc so that nodes that have a high Pid belong to a partition that has a high number. This is useful for parallel vector and matrices where we want each partition to insert values in its own memory slot. |
| 21 | - LId: local Id. Starts at 0 for each partition, increases by 1, but is local to the partition. Each partition has a vertex of Lid 0, and its maximum Lid is the number of vertices in the partition -1. |
| 22 | |