<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root>
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.2" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">Discrete and Continuous Models and Applied Computational Science</journal-id><journal-title-group><journal-title xml:lang="en">Discrete and Continuous Models and Applied Computational Science</journal-title><trans-title-group xml:lang="ru"><trans-title>Discrete and Continuous Models and Applied Computational Science</trans-title></trans-title-group></journal-title-group><issn publication-format="print">2658-4670</issn><issn publication-format="electronic">2658-7149</issn><publisher><publisher-name xml:lang="en">Peoples' Friendship University of Russia named after Patrice Lumumba (RUDN University)</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">22195</article-id><article-id pub-id-type="doi">10.22363/2658-4670-2019-27-1-42-48</article-id><article-categories><subj-group subj-group-type="toc-heading" xml:lang="en"><subject>Computational modeling and simulation</subject></subj-group><subj-group subj-group-type="toc-heading" xml:lang="ru"><subject>Численное и имитационное моделирование</subject></subj-group><subj-group subj-group-type="article-type"><subject>Research Article</subject></subj-group></article-categories><title-group><article-title xml:lang="en">Software for the numerical solution of first-order partial differential equations</article-title><trans-title-group xml:lang="ru"><trans-title>Программное обеспечение для численного решения дифференциальных уравнений в частных производных первого порядка</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author"><name-alternatives><name xml:lang="en"><surname>Kuziv</surname><given-names>Yaroslav Yu</given-names></name><name xml:lang="ru"><surname>Кузив</surname><given-names>Ярослав Юрьевич</given-names></name></name-alternatives><bio xml:lang="en"><p>postgraduate student of Department of Applied Probability and Informatics</p></bio><email>yaroslav.kuziw@yandex.ru</email><xref ref-type="aff" rid="aff1"/></contrib></contrib-group><aff-alternatives id="aff1"><aff><institution xml:lang="en">Peoples’ Friendship University of Russia (RUDN University)</institution></aff><aff><institution xml:lang="ru">Российский университет дружбы народов</institution></aff></aff-alternatives><pub-date date-type="pub" iso-8601-date="2019-12-15" publication-format="electronic"><day>15</day><month>12</month><year>2019</year></pub-date><volume>27</volume><issue>1</issue><issue-title xml:lang="en">VOL 27, NO1 (2019)</issue-title><issue-title xml:lang="ru">ТОМ 27, №1 (2019)</issue-title><fpage>42</fpage><lpage>48</lpage><history><date date-type="received" iso-8601-date="2019-11-20"><day>20</day><month>11</month><year>2019</year></date></history><permissions><copyright-statement xml:lang="en">Copyright ©; 2019, Kuziv Y.Y.</copyright-statement><copyright-statement xml:lang="ru">Copyright ©; 2019, Kuziv Y.Y.</copyright-statement><copyright-year>2019</copyright-year><copyright-holder xml:lang="en">Kuziv Y.Y.</copyright-holder><copyright-holder xml:lang="ru">Kuziv Y.Y.</copyright-holder><ali:free_to_read xmlns:ali="http://www.niso.org/schemas/ali/1.0/"/><license><ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/">http://creativecommons.org/licenses/by/4.0</ali:license_ref></license></permissions><self-uri xlink:href="https://journals.rudn.ru/miph/article/view/22195">https://journals.rudn.ru/miph/article/view/22195</self-uri><abstract xml:lang="en"><p>Partial differential equations of the first order, arising in applied problems of optics and optoelectronics, often contain coefficients that are not defined by a single analytical expression in the entire considered domain. For example, the eikonal equation contains the refractive index, which is described by various expressions depending on the optical properties of the media that fill the domain under consideration. This type of equations cannot be analysed by standard tools built into modern computer algebra systems, including Maple.The paper deals with the adaptation of the classical Cauchy method of integrating partial differential equations of the first order to the case when the coefficients of the equation are given by various analytical expressions in the subdomains G1, . . . , Gk , into which the considered domain is divided. In this case, it is assumed that these subdomains are specified by inequalities. This integration method is implemented as a Python program using the SymPy library. The characteristics are calculatednumerically using the Runge-Kutta method, but taking into account the change in the expressions for the coefficients of the equation when passing from one subdomain to another. The main functions of the program are described, including those that can be used to illustrate the Cauchy method. The verification was carried out by comparison with the results obtained in the Maple computer algebra system.</p></abstract><trans-abstract xml:lang="ru"><p>Дифференциальные уравнения с частными производными первого порядка, возникающие в прикладных задачах оптики и оптоэлектроники, часто содержат коэффициенты, которые не определяются одним аналитическим выражением во всей рассматриваемой области. Например, уравнение эйконала содержит показатель преломления, который описывается различными выражениями в зависимости от оптических свойств сред, которые заполняют рассматриваемую область. Этот тип уравнений не может быть проанализирован стандартными инструментами, встроенными в современные системы компьютерной алгебры, включая Maple. В статье рассматривается адаптация классического метода Коши интегрирования уравнений в частных производных первого порядка к случаю, когда коэффициенты уравнения являются различными аналитическими выражениями в подобластях G1,. , , , Gk, на которые делится рассматриваемый домен. В этом случае предполагается, что эти субдомены задаются неравенствами. Этот метод интеграции реализован как программа на Python с использованием библиотеки SymPy. Характеристики рассчитываются численно с использованием метода Рунге-Кутты, но с учетом изменения выражений для коэффициентов уравнения при переходе от одного субдомена к другому. Описаны основные функции программы, в том числе те, которые можно использовать для иллюстрации метода Коши. Проверка проводилась путем сравнения с результатами, полученными в системе компьютерной алгебры Maple.</p></trans-abstract><kwd-group xml:lang="en"><kwd>eikonal</kwd><kwd>partial differential equation</kwd><kwd>SymPy</kwd></kwd-group><funding-group/></article-meta></front><body></body><back><ref-list><ref id="B1"><label>1.</label><mixed-citation>M. Born, E. Wolf, Principles of optics. Electromagnetic theory of propagation, interference and diffraction of light, 6th Edition, Elsevier, 1980.</mixed-citation></ref><ref id="B2"><label>2.</label><mixed-citation>B. Enquist, O. Runborg, Computational high frequency wave propagation, 6th Edition, Cambridge University Press, 2003.</mixed-citation></ref><ref id="B3"><label>3.</label><mixed-citation>A. A. Egorov, L. A. Sevastianov, Structure of modes of a smoothly irregular integrated-optical four-layer three-dimensional waveguide, Quantum Electronics 39 (6) (2009) 566. doi:10.1070/QE2009v039n06ABEH013966.</mixed-citation></ref><ref id="B4"><label>4.</label><mixed-citation>A. A. Egorov, K. P. Lovetsky, L. A. Sevastianov, A. L. Sevastianov, Simulation of guided modes (eigenmodes) and synthesis of a thin-film generalised waveguide Luneburg lens in the zero-order vector approximation, Quantum Electronics 40 (9) (2010) 830-836. doi:10.1070/QE2010v040n09ABEH014332.</mixed-citation></ref><ref id="B5"><label>5.</label><mixed-citation>A. A. Egorov, L. A. Sevastianov, A. L. Sevastianov, Method of adiabatic modes in research of smoothly irregular integrated optical waveguides: zero approximation, Quantum Electronics 44 (2) (2014) 167-173. doi:10.1070/QE2014v044n02ABEH015303.</mixed-citation></ref><ref id="B6"><label>6.</label><mixed-citation>A. D. Polyanin, V. E. Nazaikinskii, Handbook of linear partial differential equations for engineers and scientists, 2nd Edition, CRC Press, Boca Raton, London, 2016.</mixed-citation></ref><ref id="B7"><label>7.</label><mixed-citation>E. Goursat, Cours d’analyse mathématique, 3rd Edition, Vol. 2, Gauthier-Villars, Paris, 1918.</mixed-citation></ref><ref id="B8"><label>8.</label><mixed-citation>PDEplot for Maple (2019). URL http://www.maplesoft.com</mixed-citation></ref><ref id="B9"><label>9.</label><mixed-citation>Python library for symbolic mathematics SymPy (2019). URL http://www.sympy.org</mixed-citation></ref><ref id="B10"><label>10.</label><mixed-citation>M. D. Malykh, On integration of the first order differential equations in finite terms, IOP Conf. Series: Journal of Physics: Conf. Series 788 (2017) 012026. doi:10.1088/1742-6596/788/1/012026.</mixed-citation></ref><ref id="B11"><label>11.</label><mixed-citation>IarKuz at Github (2019). URL https://github.com/IarKuz/PostGradeCode/blob/MF_Solver_PDE/MF_Solver_PDE.ipynb</mixed-citation></ref><ref id="B12"><label>12.</label><mixed-citation>E. Hairer, G. Wanner, S. P. Nørsett, Solving ordinary differential equations, 3rd Edition, Vol. 1, Springer, New York, 2008.</mixed-citation></ref><ref id="B13"><label>13.</label><mixed-citation>W. H. Press, S. A. Teukolsky, W. T. Vetterling, B. P. Flannery, Numerical recipes in C: the art of scientific computing, 2nd Edition, Cambridge University Press, 1992.</mixed-citation></ref><ref id="B14"><label>14.</label><mixed-citation>J. Lock, Scattering of an electromagnetic plane wave by a Luneburg lens. II. Wave theory, Journal of the Optical Society of America A: Optics Image Science and Vision 25 (2008) 2980-2990. doi:10.1364/JOSAA.25.002980.</mixed-citation></ref><ref id="B15"><label>15.</label><mixed-citation>S. Cornbleet, Geometrical optics reviewed: A new light on an old subject, Proceeding of the IEEE 71 (1983). doi:10.1109/PROC.1983.12620.</mixed-citation></ref></ref-list></back></article>
