An Application of Discrete Differential Geometry to the Spectral Element Method