TY - JOUR AB - We present a generic algorithm for numbering and then efciently iterating over the data values attached to an extruded mesh. An extruded mesh is formed by replicating an existing mesh, assumed to be unstructured, to form layers of prismatic cells. Applications of extruded meshes include, but are not limited to, the representation of 3D high aspect ratio domains employed by geophysical nite element simulations. These meshes are structured in the extruded direction. The algorithm presented here exploits this structure to avoid the performance penalty traditionally associated with unstructured meshes. We evaluate the implementation of this algorithm in the Firedrake nite element system on a range of low compute intensity operations which constitute worst cases for data layout performance exploration. The experiments show that having structure along the extruded direction enables the cost of the indirect data accesses to be amortized after 10-20 layers as long as the underlying mesh is well-ordered. We characterise the resulting spatial and temporal reuse in a representative set of both continuous-Galerkin and discontinuous-Galerkin discretisations. On meshes with realistic numbers of layers the performance achieved is between 70% and 90% of a theoretical hardware-specic limit. AU - Bercea,G AU - McRae,ATT AU - Ham,DA AU - Mitchell,L AU - Rathgeber,F AU - Nardi,L AU - Luporini,F AU - Kelly,PHJ DO - 10.5194/gmd-9-3803-2016 EP - 3815 PY - 2016/// SN - 1991-9603 SP - 3803 TI - A structure-exploiting numbering algorithm for finite elements on extruded meshes, and its performance evaluation in Firedrake T2 - Geoscientific Model Development UR - http://dx.doi.org/10.5194/gmd-9-3803-2016 UR - http://www.geoscientific-model-development.net/ UR - http://hdl.handle.net/10044/1/40836 VL - 9 ER -