Dispersion analysis of finite-element schemes for a first-order formulation of the wave equation