{'fraction_non_alphanumeric': 0.017201834862385322, 'fraction_numerical': 0.0, 'mean_word_length': 5.147887323943662, '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}}
Simple numerical approach for determining the optical response of a nonlinear dielectric film for both TE and TM waves.

We present a simple numerical approach for computing the input-intensity dependence of the reflectivity and transmissivity of a nonlinear dielectric film for an incident plane electromagnetic wave. The incidence can be oblique and the wave can be either transverse-electric (TE) or transverse-magnetic (TM) polarized. The method is simple and straightforward, albeit the medium considered can have an arbitrary linear permittivity profile transverse to the film interface and arbitrary nonlinearity with the permittivity depending on the electric field of the wave in the film. Numerical results for the TE waves are compared with reported data based on other methods and results for the TM waves, which have not been seen to our knowledge, are given.