A theoretical investigation of the M2 constituent of the tide in the Gulf of Mexico.