mesh_etoe, a Python code which uses ETOV, the element-to-vertex connectivity information, to construct ETOE, the element-to-element connectivity, for a 2D mesh.

The mesh is assumed to consist of E_NUM elements, each of which is defined by E_ORDER vertices, provided in ETOV, an E_NUM by E_ORDER array.

The desired ETOE information gives, for each element, a list of the neighboring elements on each side.


The computer code and data files described and made available on this web page are distributed under the MIT license


mesh_etoe is available in a MATLAB version and a Python version.

Related Data and Programs:

Source Code:

BOXY is a mesh using 16 triangles and 13 nodes.

POOL is a mesh using 18 quadrilaterals and 28 nodes.

Last revised on 20 February 2019.