Quad4: the 4-node bilinear isoparametric quadrilateral, 2x2 Gauss integration, [ux, uy] per node (8 DOFs), plane stress or strain through its PlaneMaterial. Each Gauss point owns an independent copy of the material and commits it individually.
# Formulations
[Quad4Formulation::Full] is the plain element. It shear-locks in bending.
[Quad4Formulation::Enhanced] is the Wilson-Taylor incompatible-modes element (QM6/Q6). For each displacement component it adds the two shapes 1 - xi^2 and 1 - eta^2, four internal parameters alpha per element, discontinuous across edges and therefore condensed out locally. The enhanced strain is G~(xi, eta) alpha with G~ = (detJ0 / detJ(xi, eta)) * [J0^{-1} dM/dxi] expanded into strain rows; J0 is the Jacobian at the element center, and the detJ0 / detJ factor (Taylor-Beresford-Wilson) is what preserves the constant-strain patch test on distorted elements. The element stiffness is K_uu - K_ua K_aa^{-1} K_au, the resistance is that stiffness times the nodal displacements (the element is linear), and strains and stresses at the Gauss points are recovered as B u + G~ alpha and D times that, with alpha = -K_aa^{-1} K_au u.
Scope: Enhanced accepts only linear PlaneMaterials (for a nonlinear one alpha would be element internal state needing its own local Newton iteration). It is designed to cure shear (bending) locking. It is not a mixed or B-bar formulation and carries no volumetric-locking guarantee for nearly incompressible plane strain (nu -> 0.5); the plain element locks completely there, and in the tests (Cook's membrane, a pressurized thick cylinder at nu = 0.4999) the enhanced element was observed to do much better, but that is an observation about those problems, not a property of the formulation. Incompatible-mode elements also remain somewhat sensitive to trapezoidal distortion.