Triangular spectral elements for geophysical fluid dynamics applications.