{'fraction_non_alphanumeric': 0.017595307917888565, 'fraction_numerical': 0.0, 'mean_word_length': 5.5673076923076925, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A mode-preserving perfectly matched layer for optical waveguides

For numerical simulation of wave propagation in optical waveguides, we develop a mode-preserving boundary condition for the popular perfectly matched layer, which truncates the unbounded transverse plane. The method is particularly useful for single-mode longitudinally varying wave-guiding structures and it is easy to use for step-index planar waveguides. With this boundary condition, accurate numerical solutions can be obtained in a much smaller computational window. Numerical results based on the beam propagation method for a tapered waveguide are used to demonstrate the capacity of this boundary condition.