Mathematical perspectives on waves and currents