Lateral mixing of water masses