Chaotic ray dynamics in an optical cavity with a beam splitter.