template<int Dim>
struct hpfem::mesh::PeriodicFace< Dim >
Refinement hierarchy over a root mesh. mesh() is the current leaf mesh; refine() red-refines the given leaf cells plus whatever the one-irregular rule requires: before a cell is split, every coarser leaf cell sharing a vertex with it and every leaf cell owning the parent of one of its facets is split first (2:1 balance by vertices and by facets; the latter matters in 3D, where the inner child face of a face shares no vertex with the coarse neighbour). The closure may split a cell created in the same call again; the returned step records the chain of child numbers per new cell. Children inherit the cell tag; facet tags of the root transfer to the leaf facets lying on tagged root facets; curved roots place new vertices and edge nodes with the root cell maps. A pair of periodic faces of the root mesh: the facets tagged slave are the facets tagged master translated by shift (the lattice vector), as in assembly::PeriodicPair.