The 2-to-1 rule must be satisfied for all the elements sharing a common edge, not only those across the faces. The element database stores references to face neighbors, and edge neighbors have to be sought out with a special routine.
Irregular nodes may exist on the boundary, so enforcement of
-
-constraints and boundary conditions should be synchronized, or
continuity of the
solution may be lost.