{'fraction_non_alphanumeric': 0.0186219739292365, 'fraction_numerical': 0.0, 'mean_word_length': 5.725, '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}}
Differential method applied for photonic crystals.

The classic differential method is applied for modeling the diffraction of light from two-dimensional photonic crystals that consist of dielectric cylindrical objects. Special attention is paid to mutual interpenetration of consecutive layers. Two algorithms for dealing with a stack of repetitive layers are discussed, namely, the eigenvalue technique and the S-matrix algorithm. Their advantages and limitations are analyzed, and times required for their implementation are compared.