quad_mesh, a FORTRAN90 code which carries out operations involving meshes of quadrilaterals.

The mesh is the collection of quadrilaterals. Each quadrilateral is termed an "element". The points used to define the shape of the quadrilateral (the corners, and sometimes a few more points) are called the "nodes".

Routines are available to:


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


quad_mesh is available in a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

FEM2D, a data directory which contains a description and examples of files that describe a 2D finite element model.

FEM_IO, a FORTRAN90 code which reads or writes node, element and data files defining a finite element model.

MESH_BANDWIDTH, a FORTRAN90 code which returns the geometric bandwidth associated with a mesh of elements of any order and in a space of arbitrary dimension.


QUAD_MESH_RCM, a FORTRAN90 code which computes the reverse Cuthill-McKee (RCM) reordering for nodes in a mesh of 4-node quadrilaterals.

TRIANGULATION, a FORTRAN90 code which carries out operations involving meshes of triangular elements.


  1. Hans Rudolf Schwarz,
    Methode der Finiten Elemente,
    Teubner Studienbuecher, 1980,
    ISBN: 3-519-02349-0.
  2. Gilbert Strang, George Fix,
    An Analysis of the Finite Element Method,
    Cambridge, 1973,
    ISBN: 096140888X,
    LC: TA335.S77.
  3. Olgierd Zienkiewicz,
    The Finite Element Method,
    Sixth Edition,
    Butterworth-Heinemann, 2005,
    ISBN: 0750663200,

Source Code:

Last revised on 21 August 2020.